开始学习C#2008
今天开始学习C#2008,从最开始的new---file---project-----console application
using system;
using system.collections.generic;
using system.linq;
using system.text;
namespace consoleapplication1
{
class program
static void main(string args[])
{
//output the text to screen
console.writeline("The first app in beginning C# programing");
console.readkey();
}
}
using system;
using system.collections.generic;
using system.linq;
using system.text;
namespace consoleapplication1
{
class program
static void main(string args[])
{
//output the text to screen
console.writeline("The first app in beginning C# programing");
console.readkey();
}
}
#region
#end region
定义变量
sbyte byte short ushort int uint long ulong
float double decimal
char string bool
sbyte byte short ushort int uint long ulong
float double decimal
char string bool