日期:2014-05-19  浏览次数:20781 次

再问一个泛型约束的简简简简简简简简单问题
public   class   chl <t,v>   where   t:class,v:struct

报错,请问怎么为2个参数(t,v)约束

------解决方案--------------------
public class chl <t,v> where t:string,v:int

...可用类型