Define Listeners collection of Trace and Debug objects - DOT.NET

Define Listeners collection of Trace and Debug objects.

The Trace and Debug objects contain a Listeners collection.
These Listeners collection collect output from the trace statements.

There are three types of predefined listeners:
- DefaultTraceListener
- TextWriterTraceListener
- EventLogTraceListener

DefaultTraceListener: This is default listener and writes trace statements in the Output window.
TextWriterTraceListener: can write output to the text file or to the console window.
EventLogTraceListener: can write messages to the Event Log.
Define Trace Switches - DOT.NET
Trace switches can be configured through application's .config file even after the application is compiled.....
Explain how to implement properties - DOT.NET
You can either use fields or property procedure to add properties....
Explain how to create a read-only or write-only property - DOT.NET
To create a property that can only be read and not altered, you need to declare it as ReadOnly....
Post your comment