logo       

RE: VB vs C# is there a auto documenting feature in C#: msg#00162

org.user-groups.dotnet.padnug

Subject: RE: VB vs C# is there a auto documenting feature in C#


Darthsmily wrote:

> does anyone know why .net evaluates both half of an 'or' statement?

IIRC (I'm a little hazy on this...), short-circuit logic was judged to be
too confusing by VB.NET programmers. And it *can* be confusing if the
expressions being evaluated have side effects.

.NET totally supports short-circuit evaluation of logical expressions, this
is a language-specific issue.

Cheers,
Stuart

Stuart Celarier | Fern Creek | www.ferncrk.com








<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise