Cannot use "Console.WriteLine"

Cannot use "Console.WriteLine"

Post by Grey » Wed, 14 Apr 2004 13:12:04


This is a multi-part message in MIME format.


Can I use System.Console.WriteLine('fasfasdf') in ASP.NET development as I need to print out some message in the console during the debug stage..
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Verdana size=2>Can I use System.Console.WriteLine('fasfasdf') in
ASP.NET development as I need to print out some message in the console during
the debug stage..</FONT></DIV></BODY></HTML>
 
 
 

Cannot use "Console.WriteLine"

Post by U3VkaGFrYX » Wed, 14 Apr 2004 14:21:04

You might want to consider Debug.Writeline method which can print your debug level values in VS.NET's debug window or to publish somewhere else

find this class in System.Diagnostics namespace

HT
Sudhakar Sadasivun
Microsoft .NET MVP, MCSD.ne
http://www.yqcomputer.com/
http://www.yqcomputer.com/




Can I use System.Console.WriteLine('fasfasdf') in ASP.NET development as I need to print out some message in the console during the debug stage.