Possible Duplicate:
c# - How do you get a variable’s name as it was physically typed in its declaration?
I'm looking for a way to get a property name as a string so I can have a "strongly-typed" magic string. What I need to do is something like MyClass.SomeProperty.GetName() that would return "SomeProperty". Is this possible in C#?