Click here to Skip to main content
15,890,973 members
Articles / Programming Languages / C#

C#: Using Reflection and Custom Attributes to Map Object Properties

Rate me:
Please Sign up or sign in to vote.
4.94/5 (16 votes)
11 Mar 2014CPOL7 min read 152.1K   34  
I have a general distaste for decorating my code with Attributes and Annotations. Most of the time, I can't help but feel like there must be a better way to accomplish what I am trying to do, and/or that I have somewhere sprung a leak in what should be a helpful abstraction. Other times, though, c

Views

Daily Counts

License

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


Written By
Software Developer XIV Solutions
United States United States
My name is John Atten, and my username on many of my online accounts is xivSolutions. I am Fascinated by all things technology and software development. I work mostly with C#, Javascript/Node.js, Various flavors of databases, and anything else I find interesting. I am always looking for new information, and value your feedback (especially where I got something wrong!)

Comments and Discussions