Web
Analytics
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

http://youtu.be/fSV-W6g03EA

Select your currency