I need to get the methods with return-type void, something similar to this:
How can i do a similar thing which tells me the methods whose return-type is void?
I need to get the methods with return-type void, something similar to this:
How can i do a similar thing which tells me the methods whose return-type is void?
I suspect that you want to call Type.GetMethods, which returns information about all methods, and then look for results where methodInfo.ReturnType == typeof(void).
http://msdn.microsoft.com/en-us/library/4d848zkb(v=vs.110).aspx