I recently did a column about how to create a simple collection class. In that column, I discussed collection initializers which let you add items to a collection when the collection is instantiated.
In C# 6.0, you can also initialize that property to some constant value in the same statement, like this: ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results