瑞雪年

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: 订阅 订阅 :: 管理 ::
string s1 = "\0";
Console.WriteLine(s1.Length);
Console.WriteLine(s1);

string s2 = "";
Console.WriteLine(s2.Length);
Console.WriteLine(s2);

string s3 = "a\0b";
Console.WriteLine(s3.Length);
Console.WriteLine(s3);

It's really fun, Console.WriteLine("\0"); can make the Console mute.

posted on 2010-04-23 14:56  瑞雪年  阅读(356)  评论(0编辑  收藏  举报