摘要: class Program { static void Main() { SecureString s = new SecureString(); StringBuilder sb = new StringBuilder(); string sr = ""; sr.ToCharArray(); while (true) { ConsoleKeyInfo k = Console.ReadKey(tr... 阅读全文
posted @ 2011-12-16 11:42 Rookier 阅读(544) 评论(0) 推荐(0) 编辑
摘要: 古人云呐,有疑问了就要谷哥,谷哥到的说的我晕晕乎乎,怎么根据小弟下面的问题去理解里氏替换原则呢? class Fax { public void FaxDoSome() { Console.WriteLine("Fax's public Method"); } protected void SelfDo() { Console.WriteLine("Fax's protected Method"); } } class LaserPrint... 阅读全文
posted @ 2011-12-16 09:16 Rookier 阅读(758) 评论(2) 推荐(1) 编辑