多个约束之间使用逗号隔开,但不重复T约束。 1. private void AddControl<T>(TabPage tabPage, T userControl) where T: UserControl,new() 相关文章: 2022-12-23 2022-02-23 2021-08-08 2021-12-26 2021-08-02 2021-12-24 2021-08-09