private static void FirstCalculation() { SingletonMultithreadingDP objSingletonMultithreadingDP = SingletonMultithreadingDP.GetInstance; objSingletonMultithreadingDP.SumTwoNumbers(1, 2); }
private static void SecondCalculation() { SingletonMultithreadingDP objSingletonMultithreadingDP = SingletonMultithreadingDP.GetInstance; objSingletonMultithreadingDP.SumTwoNumbers(3, 4); }