第2章 编写C#程序

1 Visual Studio开发环境

 PS:很简单 就不多说了。下载一个VS就行。

2 控制台应用程序

 1 namespace  ConsoleApplication1
 2 {
 3       class Program
 4       {
 5             static void Main(string [] args)
 6            {
 7                   Console.WriteLine("This is my first C# programming");
 8                   Console.ReadKey();
 9 
10            } 
11 
12       }  
13 }                
控制台程序

1)Solution Explorer窗口

2)Properties窗口

3)Error List窗口

3 桌面应用程序

 WPF

4 总结

    

猜你喜欢

转载自www.cnblogs.com/Chatai/p/9262674.html