Imports System.Reflection
Imports Microsoft.VisualBasic
Dim col As Collection = getProperty(tc, "col")
Console.WriteLine(col.Count)
Public Function getProperty(cls As Object, name As String) As Object
Dim type As Type = cls.GetType()
Dim prop As PropertyInfo = type.GetProperty(name)
Dim col as collection = prop.GetValue(cls)
Property col As New Collection