是否可以创建一个可以用可变数量的参数初始化的属性?
例如:
[MyCustomAttribute(new int[3,4,5])] // this doesn't work public MyClass ...
c# attributes
attributes ×1
c# ×1