Imports System.Collections.Generic
Imports System.Runtime.CompilerServices
Dim t As New TestObject()
For Each u As Integer In t.AsEnumerable(Of Integer)()
Console.WriteLine(t.AsEnumerable(Of Integer)().Where(Function(d) d Mod 2 = 0).Sum())
Dim digits() As Integer = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
Public Iterator Function GetEnumerator() As IEnumerable(Of Integer)
For Each d As Integer In digits
Public Iterator Function AsEnumerable(Of T)(input As Object) As IEnumerable(Of T)
For Each item As T In input.GetEnumerator()