Collection initializer in C# 3.0

added by jacobsebastian
9/16/2010 11:59:38 AM

2 Kicks, 223 Views

Collection initializer is a new feature in c# 3.0. using this feature an object can be added to a collection while collection is getting initiated. Collection initializer uses object initializer to add objects in collection on the fly.


0 comments