Beispiel #1
0
        static void Main(string[] args)
        {
            //using threading
            MultiThreadTest threadTest = new MultiThreadTest();
            threadTest.proessMultithreading();

            //using async and Task
            threadTest.ProcessWriteMult();
            Console.Read();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            //using threading
            MultiThreadTest threadTest = new MultiThreadTest();

            threadTest.proessMultithreading();

            //using async and Task
            threadTest.ProcessWriteMult();
            Console.Read();
        }
        private static void ThreadingInvoke()
        {
            MultiThreadTest threadTest = new MultiThreadTest();
            threadTest.proessMultithreading();

            threadTest.ProcessWriteMult();
            Console.Read();
        }