If you have custom type, and you wish to assign a List(of T) to that custom type, how do you do so in vb? I found a C# example as below
List<myclass> result = (from c in db.Customers where c.orders.count > 1 Select new Myclass
{
Id = c.customerID,
Name = c.contactname
}).Tolist();
From this site http://blogs.msdn.com/swiss_dpe_team/archive/2008/01/25/using-your-own-defined-type-in-a-linq-query-expression.aspx
But I am stuck trying to get it to work in Vb.net