Can I cast a generic array of T that implements an interface, to this specific interface array?

后端 未结 0 2071
后悔当初
后悔当初 2021-02-20 17:30

I would like to do something like this : automatically convert array of T to some interface that T implements :

public static void GenericFunction(T[,] g         


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