B
Benny Raymond
Basically what the subject says...
"in a bool 2d array, does Initialize set everything to false?"
"in a bool 2d array, does Initialize set everything to false?"
Benny said:Basically what the subject says...
"in a bool 2d array, does Initialize set everything to false?"
Bruce Wood said:Yes, although I prefer not to depend upon that behaviour. A quick trip
through the array to initialize each element to false seems a small
price to pay to make my code easier for others (who may not be as
familiar with the finer points of C#) to read.