Thanks Ben for the reply.
Subtur.
No prob, happy to help. Best of luck w/ your development.

Signature
Ben Strackany
www.developmentnow.com
> Thanks Ben for the reply.
>
> Subtur.
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!
subtur - 12 Feb 2005 17:31 GMT
Hi Ben,
this is a question from one of the tests for mcp 315.i re am confused
for the answer he gave and what i thought.
question is:
There is a complex algorithm used on a webpage that you are coding
changes frequently.During Unit testing,you want to view the output of
several variables during calculations.However u do not want these
statments to be processed when the webpage is released into production
and execution speed is critical.
Which of the following statments you used to view the value of the
variable x?
a)Trace.WriteIf(condition,"x"+x.Tostring())
b)Trace.Write(condition,"x"+x.Tostring())
c)Debug.WriteIf(condition,"x"+x.Tostring())
d)Debug.Write(condition,"x"+x.Tostring())
the answer he gives as d) and i think b) because Trace object are still
processed when the Mode is Debug or Release.
during execution speed critcal situations which mode we need to
use.Debug or Release.?
Thanks in advance,
subtur