Is it possible to execute code quick test in VS2010?
For example I would like to test code below just selecting it in code editor and execute it by passing variables?
public static int GetInt(object value)
{
int result;
Int32.TryParse(GetString(value), out result);
return result;
}
Use this MSDN article as a starting point on how to use the immediate window. This will allow you to test the entire GetInt method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With