Trabla: C#: c# analog of java System.out.println | System.out.print
Solving:
In C# you can use:
1) Console.WriteLine | Console.Write
2) System.Diagnostics.Debug.WriteLine | System.Diagnostics.Debug.Write
System.Diagnostics.Debug.WriteLine | System.Diagnostics.Debug.Write
- prints into Output Windows in Visual Studio
Example usage:
string lvMessage = "trololo";
System.Diagnostics.Debug.WriteLine( lvMessage );
Official Docs:
https://msdn.microsoft.com/en-us/library/system.diagnostics.debug.write(v=vs.110).aspx
https://msdn.microsoft.com/en-us/library/system.diagnostics.debug.writeline.aspx
No comments:
Post a Comment