Browse by Tags

All Tags » OOP » Generics (RSS)
One of the new features in VB 10.0 is collection initializers. Collection initializers allow you to initialize an array or list in a single line of code. (C# has had collection initializers since C# 3.0. The examples here show both C# and VB for completeness...
6 comment(s)
Filed under: , , , , ,
Often times applications require lists of things: lists of customers, lists of experiments, lists of accounts and so on. The generic lists provided in .NET 2.0 made working with these lists easy. And the list initializers in C# and the object initializers...
10 comment(s)
Filed under: , , , , ,