I am a C# lover, and not very familiar with VB.NET. I am trying to do a classic:
var data = data.Select(c=>c.Id).ToList()
However, when I do this in VB.NET
<% rModel.SearchProductIds = Model.Products.[Select](Function(c) c.Id).ToList()%>
I get the following error:
"Select is not a member of System.Collections.Generic.List"
I don't understand why. My framework is .NET 3.5, so it should work.
Is it a syntax mistake?