字符串中常用符号的含义

"的作用是转义:

Console.WriteLine("Key ""doc"" is not found."); //output: Key "doc" is not found.

"n含义:换行。在控制台应用程序中相当于Console.WriteLine();

 

posted @ 2009-09-27 23:17  风影极光  阅读(400)  评论(0编辑  收藏  举报