Object and Collection Initilizers in C# 3.0 - Tutorial

For Consultation : +91 9887575540

Stay Connected :

New way of Object Initialization:

          C# 3.0 introduces new way to initialize the objects. Object initialization is used to assign values to accessible fields of an object at the time of creation of Object without invoke the constructor.

Old Approrach

Initilization of Object and Collection :

Read Values:

C# 3.0 Approach:

Read Values:

C# Read Complex Classes:

C# 3.0 Apporach:

Read List Values

DownLoad Source Code of ObjectCollectionInitializer


Select your currency