Click here to Skip to main content
15,891,136 members
Articles / Programming Languages / C#

Using Expressions to Provide a Type-Safe Member Lookup

Rate me:
Please Sign up or sign in to vote.
4.38/5 (7 votes)
10 May 2015CPOL4 min read 21.7K   22   6  
When GetProperty leaves you wondering if there really is a property named "Addreess" (sic) on the Type, using an Expression may be a better option.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Chief Technology Officer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions