Explain the Debug class methods. a. Assert:This method checks for a condition. It displays a user message if the condition is false. b. Write:used to write information which will be used by Trace Listeners. c. WriteIf:Write information for Trace Listeners only if the condition is true. d. WriteLine: same as write but, every time writes in a new line. e. WriteLineIf:same as WriteIf but everytime writes in a new line.
|