Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
4 events
when toggle format what by license comment
Apr 24, 2013 at 11:34 comment added Alexander Stepaniuk Don't think it is possible, as attributes accept constant only parameters. But Array cannot be declared as constant. See e.g. this question stackoverflow.com/questions/5142349/declare-a-const-array
Apr 24, 2013 at 8:29 comment added Vladimirs Thank you, that works for me, but is here any way to pass string[][] arrays to ValuesAttribute?
Apr 24, 2013 at 8:28 vote accept Vladimirs
Apr 23, 2013 at 18:53 history answered Alexander Stepaniuk CC BY-SA 3.0