Hi. I have two lists that i want to combine items. So each index from each lists matches the two structure items.
Example Day = 0 index Week = 0 index
cant quite get it.
Example Day = 0 index Week = 0 index
cant quite get it.
Code:
Private Function Items() As List(Of MyStructure)
Return (From item In Enumerable.Range(0, DayOfWeekItems.Count)
Select(Function(n As integer) New MyStructure With {
.Day = DayOfWeekItems(n),
.Week = Weekday(n)}).ToList()
End Function