在VB.NET中的内联列表初始化

可能重复:
Visual Basic 2008中的集合初始化语法?

以下C#代码如何转换为VB.NET?

var theVar = new List<string>{"one", "two", "three"}; 

在VB.NET 2005/2008兼容性中使用此语法:

 Dim theVar As New List(Of String)(New String() {"one", "two", "three"}) 

虽然VB.NET 2010语法更漂亮。

集合初始值设定项仅在VB.NET 2010 2010-04-12发布:

 Dim theVar = New List(Of String) From { "one", "two", "three" }