Chris Roberts

Blog

Welcome to my blog.

About

Posts from October 2008

Saving processor time AndAlso writing tidier code, OrElse!

Every once in a while, you stumble across something new and you wonder how you ever survived before you found it. This happened to me most recently when I came across the AndAlso and OrElse operators in VB.NET.

The official description of the AndAlso operator from Microsoft is that it "Performs short-circuiting logical conjunction on two expressions".