C# Language Debug.WriteLine


Writes to the trace listeners in the Listeners collection when the application is compiled in debug configuration.

public static void Main(string[] args)

In Visual Studio or Xamarin Studio this will appear in the Application Output window. This is due to the presence of the default trace listener in the TraceListenerCollection.