Hi All,
Can you please help me on this .
I have one c# method it is taking more time while execution i want to reduce the time of excution how to do this please help me.
If i can use multithreading how to i can use plase let me know on this.
Advcanced thak you,
Regards,
Narasimha
C# method it is taking more time while execution
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Rohit10 reputationPosted Feb 3, 2012, 7:36 PM EST
If your method is taking more time in execution then it simply means :that method is doing a lot of computations.
Revisit your code and check is there any dead code or something or un-necessary looping being done, which is hampering the execution time..?
Modularity of this function might help you out.
It is a generic answer but i might help.