I\'m using a custom attribute inherited from an attribute class. I\'m using it like this:
[MyCustomAttribute(\"CONTROL\")] [MyCustomAttribute(\"ALT\")] [MyCustom
Stick a AttributeUsage attribute onto your Attribute class (yep, that's mouthful) and set AllowMultiple to true:
AttributeUsage
AllowMultiple
true
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] public sealed class MyCustomAttribute: Attribute