If I have a class called MyProgram, is there a way of retrieving "MyProgram" as a string?
MyProgram
Try this:
this.GetType().Name
1.4m articles
1.4m replys
5 comments
57.0k users