I was wondering if there is a trick somewhere to be able to run methods using the visual studio command or something like that.
For example, let's say I created a new instance of the Connection type in void Main and saved it in a static variable in the Program class. Now, let's say my program runs under the VS2012 debugger, and I would like to arbitrarily execute the Connection.Blah(int, string) method on the Connection.Blah(int, string) instance that is held in my Program class from visual studio, without any preliminary code for this.
Is there any way to do this?
source share