What is the best way to measure the memory usage of a C# function ?
- by Duaa
Hi all:
I'm looking for an accurate way to measure memory usage of a C# program under Windows operating system. I'm using Visual Studio for programming my code and I want to know its time consuming for performance. Really, I tried to use the Task Manager, but I do not get an accurate measurment.
Please, if any one know an accurate way to measure the memory consumption, please help me and thanks alot