日期:2014-05-17 浏览次数:20950 次
public class Singleton { public Singleton() { Console.WriteLine("ctor\n"); } private static readonly Singleton instance = new Singleton(); } class Program { static void Main(string[] args) { } }