I want to declare a list containing types basically:
List types = new List() {Button, TextBox };
is this possible?<
List types = new List{typeof(String), typeof(Int32) };
You need to use the typeof keyword.