There are 3:
1. Console.WriteLine-- it's for console application only.
To see in output window:
2. Debug.WriteLine
3. Trace.WriteLine (You just have to make sure the the TRACE compiler constant is defined.)