Print Method (String)
Collapse the table of content
Expand the table of content

Debug.Print Method (String)

 

Writes a message followed by a line terminator to the trace listeners in the Listeners collection.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

[ConditionalAttribute("DEBUG")]
public static void Print(
	string message
)

Parameters

message
Type: System.String

The message to write.

The default line terminator is a carriage return followed by a line feed. By default, the output is written to an instance of DefaultTraceListener.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft