1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Linq;4usingSystem.Text;5usingSystem.Threading.Tasks;67namespace_01个程序8{9classPRogram10{11staticvoidMain(string[] args)12{13Console.WriteLine("************************");1415//WriteLine输出字符并将光标移到下行,Write输出字符但光标不移动到下行16Console.WriteLine("* 这是我第一个C#程序 *");17Console.WriteLine("************************");18Console.WriteLine("典菲菲反\"\"对丰富");1920//""在字符中如何显示 \"21Console.ReadKey();22}23}24}
运行效果:
[flash=500,400]http://s1.knowsky.com/20160211/kug1yo51gqu35.jpg[/flash]