Declaring a List of types

后端 未结 5 1083
悲&欢浪女
悲&欢浪女 2020-12-10 23:53

I want to declare a list containing types basically:

List types = new List() {Button, TextBox };

is this possible?<

5条回答
提交回复
热议问题