When you use a type parameter for an optional parameter, you must guarantee that it is of a reference type to avoid the possibility of a value type with no valid default value.
在为可选参数使用类型参数时,必须保证它采用引用类型,以避免值类型没有有效默认值的可能性。
When you use a type parameter for an optional parameter, you must guarantee that it is of a reference type to avoid the possibility of a value type with no valid default value.
在为可选参数使用类型参数时,必须保证它采用引用类型,以避免值类型没有有效默认值的可能性。
应用推荐