Collection Initializer
Collection initializer is also similar to object
initializers. In other words,
generally, we used the Add() method to add elements in collections, but using
a collection initializer you can add elements without using Add() method.
No comments:
Post a Comment