1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace _13_转移符 8 { 9 class Program 10 { 11 static void Main(string[] args) 12 { 13 // Console.WriteLine("今天天气好晴\n朗处处好风光"); 14 15 16 //Console.WriteLine("我想在这句话中输出一\"\"个英文半角的双引号"); 17 18 //string name1 = "张三"; 19 //string name2 = "李思思"; 20 //string name3 = "王小五"; 21 //string name4 = "李狗蛋"; 22 //Console.WriteLine("{0}\t{1}", name1, name2); 23 //Console.WriteLine("{0}\t{1}", name3, name4); 24 25 26 //Console.WriteLine("学习编\b程有用\b么?学了不一定会,会了不一定能找到工作,找到工作 不应能买的起房子,买的起房子不一定娶得起老婆,娶得起老婆不一定生的了孩子,生的了孩子不一定是你的\b"); 27 28 //Console.ReadKey(); 29 30 31 32 //string str = "今天天气好晴\r\n朗处处好风光"; 33 34 //System.IO.File.WriteAllText(@"C:\Users\SpringRain\Desktop\1111.txt", str); 35 //Console.WriteLine("写入成功!!!"); 36 //Console.ReadKey(); 37 38 39 //char c = '\b';//\ 在里面起到了一个转义的作用 40 //char cc='bb'; 41 42 //string path=@"F:\老赵生活\music\a\b\c\d\e\小泽玛利亚.avi"; 43 //Console.WriteLine(path); 44 //Console.ReadKey(); 45 46 47 Console.WriteLine(@"今天天气好晴 48 朗处处好风光"); 49 Console.ReadKey(); 50 51 } 52 } 53 }
相关文章: