Example #1
0
        private static void FirstCalculation()
        {
            SingletonMultithreadingDP objSingletonMultithreadingDP = SingletonMultithreadingDP.GetInstance;

            objSingletonMultithreadingDP.SumTwoNumbers(1, 2);
        }
Example #2
0
        private static void SecondCalculation()
        {
            SingletonMultithreadingDP objSingletonMultithreadingDP = SingletonMultithreadingDP.GetInstance;

            objSingletonMultithreadingDP.SumTwoNumbers(3, 4);
        }