Possible Duplicate:
How do I quicky fill an array with a specific value?
Is there a way to initialize an integer array with a single value like -1 without having to explicitly assign each item?
Basically, if I have
int[] MyIntArray = new int[SomeCount];
All items are assigned 0 by default. Is there a way to change that value to -1 without using a loop? or assigning explicitly each item using {}?