How to use class as generic type

后端 未结 0 1832
梦如初夏
梦如初夏 2021-01-25 07:54

I have following code.

string name = GetClassName();

switch (name)
{
    case "Class1":
        new Generic().DoSomething();
        brea         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题