Left to right expression evaluation

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2008-12-03T10:29:20Z Indexed on 2010/04/13 5:32 UTC
Read the original article Hit count: 459

In C# is it guaranteed that expressions are evaluated left to right?

For example:

myClass = GetClass();  
if (myClass == null || myClass.Property > 0)  
    continue;

Are there any languages that do not comply?

© Stack Overflow or respective owner

Related posts about c#

Related posts about compiler