There is a mixture of developers from different backgrounds with different expertise in every software project. This kind of diversity increases the probability of success in a software project. However, one disadvantage is that not everyone knows everything, which can result in a knowledge gap.
If you have been using the C# language for a while now, and you are using the built-in attributes (e.g.
[Serializable], [Obsolete]) but you haven’t deeply thought about it. Thus, in this post, we’re going to explore the basics of attributes, what are the common ones, how to create and read attributes. What’s exciting is you will see how to get the built-in attributes using
System.Reflection. OK, then let’s get started.