static void Main(string[] args)
{
int a = 8;
int b = 2;
int sum;
sum = a + b;
Console.WriteLine("{0}+{1}+{2}", a, b, sum);
Console.ReadLine();//加这句运行,或者按Ctrl+F5
}
static void Main(string[] args)
{
int a = 8;
int b = 2;
int sum;
sum = a + b;
Console.WriteLine("{0}+{1}+{2}", a, b, sum);
Console.ReadLine();//加这句运行,或者按Ctrl+F5
}