System.Diagnostics.Debug.WriteLine C# (CSharp) Method

WriteLine() private method

private WriteLine ( string message, string category ) : void
message string
category string
return void
        public static void WriteLine(string message, string category)
        {
            if (category == null)
            {
                WriteLine(message);
            }
            else
            {
                WriteLine(category + ":" + message);
            }
        }

Same methods

Debug::WriteLine ( object value ) : void
Debug::WriteLine ( object value, string category ) : void
Debug::WriteLine ( string message ) : void

Usage Example

Esempio n. 1
0
 public static void Info(string message)
 {
     if (IsDebuggerAttached)
     {
         Dbg.WriteLine(message);
     }
 }
All Usage Examples Of System.Diagnostics.Debug::WriteLine