colored lines in console??
-
Not using the base class library (the .NET Framework assemblies), not until .NET 2.0 that is. There are ways to accomplish this by P/Invoking the write native APIs. See the article Console Enhancements[^] here on CodeProject for details.
Microsoft MVP, Visual C# My Articles
-
Not using the base class library (the .NET Framework assemblies), not until .NET 2.0 that is. There are ways to accomplish this by P/Invoking the write native APIs. See the article Console Enhancements[^] here on CodeProject for details.
Microsoft MVP, Visual C# My Articles
For my projects I use LOG4NET [^] (fantastic lib!), which has a
ColoredConsoleAppender
(or with a similar name) which allows for colors on the console. They should have source code included, maybe they use another method than your proposed one... -- - Free Windows-based CMS: www.zeta-software.de/enu/producer/freeware/download.html - See me: www.magerquark.de - MSN Messenger: uwe_keim@hotmail.com