Syntactic Sugar C#

Collection Initializers in C# 3.0

 C# Collection Initializers enable you to add items in the collection at the time of instantiation of the collection. Collection…

3 years ago

C# 3.0 Object Initializers

Object Initializer, a new technique to initialize an object of a class or collection, was introduced in the .NET 3.5…

3 years ago