Example of Generics Using C# in ASP.NET

Friday, 27 March 2015
Generics provide a code template for creating type-safe code without referring to specific data types. Generics allow you to realize type safety at compile time. They allow you to create a data structure without committing to a specific data type. When the data structure is used, however, the compiler ensures that the types used with it are consistent for type safety. I want to discuss two benefits of generics, one is type...
Read more ...

Features of C# 4.0

Friday, 27 March 2015
Microsoft breaks the new features into the following four categories so I will maintain the pattern: Named and Optional Parameters Dynamic Support Variance COM Interop Named and Optional Parameters We'll start off with one of the easier features to explain. In fact, if you have ever used Visual Basic, then you are probably already...
Read more ...

Sharing

Get widget