I have a method "Start" in a dll which is invoked via reflection using the following code:
StandAloneInstance.GetMethod("Start", new Type[] { }).Invoke(new object(), null))
here StandAloneInstance is an object of System.Type
Whenever I run the code for the first time all runs perfectly and when I invoke the same function without exiting the application it goes in an infinity wait.
However if I stop the application and rerun it all is well again.
While in debugging mode the debugger hangs after the execution of the above line.
Please guide to crack this issue.