Quick question here about short-circuiting statements in C#. With an if statement like this:
if (MyObject.MyArray.Count == 0 || MyObject.MyArray[0].SomeValu
Yes, it is guaranteed.
http://msdn.microsoft.com/en-us/library/6373h346%28v=VS.80%29.aspx
The conditional-OR operator (||) performs a logical-OR of its bool operands, but only evaluates its second operand if necessary.