C# And The MetadataType Attribute

Suppose you have a database first approach when building a web application. If your database changes often and you need to regenerate the model class, you will lose all of the attributes you had…

New Feature In C#: Tuple Types

Often times we want to return more than one value from a method. Until know there wasn't an ideal way to do this so we had to resort to using Out parameters, custom class for holding the values or something else. Now C# 7.0 provides us with tuple types and tuple literals.…