public static void Main(String [] args) { SingleInstance t1 = SingleInstance.Instance; SingleInstance t2 = SingleInstance.Instance; t1.Increment(); if (t1.Value == t2.Value) { Console.WriteLine("SingleTon Object"); } }