Re: Questions about Coding Practices
- From: "Jon Skeet [C# MVP]" <skeet@xxxxxxxxx>
- Date: Mon, 14 Jul 2008 02:32:03 -0700 (PDT)
On Jul 14, 10:00 am, "Chakravarthy" <dskch...@xxxxxxx> wrote:
the trinary conditional operator compiles the entire statement before it
actually execute them. if there is any error in any of the statements it
will not execute the whole statement.
That's true of *all* C# code. The whole C# file is compiled before any
of it is executed.
It sounds like you're thinking of something like JavaScript.
Jon
.
- Follow-Ups:
- Re: Questions about Coding Practices
- From: J.B. Moreno
- Re: Questions about Coding Practices
- References:
- Questions about Coding Practices
- From: wangdaixing
- Re: Questions about Coding Practices
- From: Peter Duniho
- Re: Questions about Coding Practices
- From: Chakravarthy
- Questions about Coding Practices
- Prev by Date: Re: Questions about Coding Practices
- Next by Date: Re: No overload for method 'GetDataByClassType'takes '1' arguments
- Previous by thread: Re: Questions about Coding Practices
- Next by thread: Re: Questions about Coding Practices
- Index(es):