使用简单类型的变量(错误代码)
AiXed 2009-12-29 10:36:03 using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
int myInteger;
string myString;
myInteger = 17;
myString = "\"myInteger\" is";
Console.WriteLine("{0} (1).", myString, myInteger);
Console.ReadKey();
}
}
}
各位大哥,帮忙看看哪里写错了