|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
typeof keyword for properties, fields, methodsWhy don't Microsoft implement some sort of "typeof" for properties, fields,
methods etc? For example, lets suppose we have "propertyof" keyword, then we can do the following: PropertyInfo pi = propertyof(MyClass.MyProperty) Is there any problems that prevents Microsoft from implementing this? I would appreciate any thoughts. Thanks in advance. |
|||||||||||||||||||||||