摘要: 如何令一个类只生成一个对象Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->class Program { static void Main(string[] args) { OnlyYou One, Two; One = OnlyYou.GetOnlyYou(); Two = OnlyYou.GetOnlyYou(); Console.WriteLine(One == Two); Console.ReadKey(); } } public c 阅读全文
posted @ 2010-07-08 21:29 李只蚊 阅读(242) 评论(0) 推荐(0) 编辑