Shortcircuiting operators in .NET

If you’re into nerdy algorithmic discussions this one about the implementation of the && operator in .NET is quite interessting – it makes it more clear why there is both shortcircuiting and non-shortcircuiting operators for ‘and’ and ‘or’ (&&, &, ||, and |).

Check it out:

http://bytes.com/groups/net-c/230257-shortcircuiting-operators-c

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s