Home
Library
Learn
Downloads
Support
Community
Forums
MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System.Diagnostics Namespace
Debug Class
Debug Methods
WriteLine Method
WriteLine Method (Object)
WriteLine Method (String)
WriteLine Method (Object, String)
WriteLine Method (String, String)
Related Links
Assert Method
Close Method
Fail Method
Flush Method
Indent Method
Print Method
Unindent Method
Write Method
WriteIf Method
WriteLineIf Method
Debug
.
.
::
.
WriteLine Method
This page is specific to:
.NET Framework Version:
1.1
2.0
3.0
3.5
Silverlight 3
4.0
.NET Framework Class Library
Debug
.
.
::
.
WriteLine Method
Writes information about the debug to the trace listeners in the
Listeners
collection.
Overload List
Name
Description
WriteLine(Object)
Writes the value of the object's
ToString
method to the trace listeners in the
Listeners
collection.
WriteLine(String)
Writes a message followed by a line terminator to the trace listeners in the
Listeners
collection.
WriteLine(Object, String)
Writes a category name and the value of the object's
ToString
method to the trace listeners in the
Listeners
collection.
WriteLine(String, String)
Writes a category name and message to the trace listeners in the
Listeners
collection.
Top
See Also
Reference
Debug Class
Debug Members
System.Diagnostics Namespace
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Yes
No
Do you like the tabbed code blocks?
Yes
No
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
x
Classic
Lightweight Beta
ScriptFree
Switch View