JackSkellington
Technical User
I have a colour array that I am building via a case statement i.e.
This is replicate up to 7 adding a new colour each time, is there a nicer way/more efficient way to do this?
Code:
Select Case arrColours.Length
Case 1
arrColours(0) = System.Drawing.Color = Green
Case 2
arrColours(0) = System.Drawing.Color = Green
arrColours(1) = System.Drawing.Color = Green
This is replicate up to 7 adding a new colour each time, is there a nicer way/more efficient way to do this?