What's New in Visual Basic 2010: Listing 3

Collection Initializers and Lambda Expressions

Visual Basic 2010 C# 2010
Dim months As New List(Of String) From 
  {"January", "February"}	
  Public List<string> months = 
  new List<string> {"January", "February"};
comments powered by Disqus

Featured

Subscribe on YouTube