dcsimg
 

Submitted by: Srinath M S(srinath_ms@yahoo.com)

Friday Dec 1st 2017 by Srinath M S

Language: .NET, Expertise: Beginner - The Debug.WriteIf method allows you to write the debug to the listener only when a condition is true.

The Debug.WriteIf method allows you to write the debug to the listener only when a condition is true. See below for an example.

Debug.WriteLineIc(counter ==100, "you have reached a maximum");
Home
Mobile Site | Full Site
Copyright 2018 © QuinStreet Inc. All Rights Reserved