I'm looking for an simple way to compare performances between two ways of doing something. Basically i have a method that returns the same result, but I've found two different ways of getting the expected result.
Does .NET or Visual Studio provides a class to analyze memory consumption as well as processor usage ?