当前位置: 代码迷 >> 综合 >> 整型转化为字符串1
  详细解决方案

整型转化为字符串1

热度:64   发布时间:2024-01-17 03:34:30.0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
/**
*整型转化为字符串1
*/
static void Main(string[] args)
{
int i = 12;
string str = Convert.ToString(i);
Console.WriteLine(str);
Console.ReadKey();
}
}
}


  相关解决方案