第一个输出程序 Console.WriteLine

 1 using System;
 2 using System.Collections.Generic;
 3 using System.Linq;
 4 using System.Text;
 5 using System.Threading.Tasks;
 6 
 7 namespace _01个程序
 8 {
 9   class Program
10   {
11     static void Main(string[] args)
12     {
13       Console.WriteLine("************************");
14 
15       // WriteLine输出字符并将光标移到下行,Write输出字符但光标不移动到下行
16       Console.WriteLine("* 这是我第一个C#程序 *");
17       Console.WriteLine("************************");
18       Console.WriteLine("典菲菲反\"\"对丰富");
19 
20       // ""在字符中如何显示 \"
21       Console.ReadKey();
22     }
23   }
24 }

 

 

运行效果:

posted @ 2015-11-20 01:44  翻滚吧炒鸡蛋  阅读(792)  评论(0编辑  收藏  举报