Program object1= new Program(); Program object2= new Program(); /****SEQUENTIAL*****/ object1.func1(x); object1.func2(x); object1.func3(x); object1.func4(x); object2.func1(y); object2.func2(y); object2.func3(y); object2.func4(y); /****SEQUENTIAL*****/ /****PARALLEL******/ Parallel.Invoke( () => { object1.func1(x); object1.func2(x); object1.func3(x); object1.func4(x); }, () => { object2.func1(y); object2.func2(y); object2.func3(y); object2.func4(y); }); /****PARALLEL******/
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)