I have a class that look like the following:
public class MyClass { ... protected void MyMethod() { ... string myName = System.Reflection.M
In C# 6 you can use nameof :
nameof
string myName = nameof(MyMethod);