I am trying to rewrite Java code to C# and I am facing the problem that C# has not got this Java method. Can you please give me the C#'s equivalent of this method or some other way to get the class name.
Asked
Active
Viewed 1,811 times
3
-
``typeof(ClassName).Name`` – Ehsan Sajjad Feb 20 '16 at 20:07
-
1in c# 6 more better ``nameof(ClassName)`` – Ehsan Sajjad Feb 20 '16 at 20:08