Hi I used "System.Reflection.MethodBase.GetCurrentMethod().DeclaringType" in VB.NET to get the type of current class. But, if I try to use the same code in C#, it gives "class was expected" error and does not compile.
What is the equivalent of "System.Reflection.MethodBase.GetCurrentMethod().DeclaringType" in C#?