using System;
namespace _003_变量
{
class Program
{
static void Main(string[] args)
{
int total;
//赋值
total = 4;
//int a;
//a = 1;
//int b = 1;
int a = 1;
a = 3 + 7 - 2;
int b = 3;
b = b + 1;
Console.WriteLine(a);
Console.WriteLine(b);
int c;
c = 10;//初始化
c = 11;
Console.WriteLine(c);
//female male
char sex = 'f';
sex = 'm';
}
}
}