System.Diagnostics.Debug.WriteLineIf C# (CSharp) 메소드

WriteLineIf() 개인적인 메소드

private WriteLineIf ( bool condition, object value ) : void
condition bool
value object
리턴 void
        public static void WriteLineIf(bool condition, object value)
        {
            if (condition)
            {
                WriteLine(value);
            }
        }

Same methods

Debug::WriteLineIf ( bool condition, object value, string category ) : void
Debug::WriteLineIf ( bool condition, string message ) : void
Debug::WriteLineIf ( bool condition, string message, string category ) : void

Usage Example

예제 #1
0
 public static void WriteLineIf(bool condition, string message, string category)
 {
     DBG.WriteLineIf(condition, message, category);
 }
All Usage Examples Of System.Diagnostics.Debug::WriteLineIf