Option for quick test code in VS2010

Is it possible to perform a quick code test in VS2010?

For example, I would like to check the code below by simply selecting it in the code editor and execute it by passing variables?

public static int GetInt(object value) { int result; Int32.TryParse(GetString(value), out result); return result; } 
+6
c # visual-studio-2010
source share
1 answer

Use the MSDN article as a starting point on how to use the closest window. This will allow you to test the entire GetInt method.

+4
source share

All Articles