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

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events