Home
  Latest posts
  My Writings
  My Code
  My Gallery
  About me
 
  rssfeed Syndication
 
Bloggtoppen.se
 
 
Links
  Cornerstone
  SweNug
 
Post categories
  misc (48)
  Architecture (21)
  C# (19)
  Asp.Net (2)
  Vb.Net (2)
  Training (7)
  Data (19)
  Events (40)
  Platform (2)
  Orcas (4)
  Updates (3)
  Methods (10)
  Tools (6)
  Announcements (14)
  Languages (1)
  Patterns (6)
  Opinions (11)
  Fun (3)
  Ineta (1)
  Opinion (0)
  Practices (2)
  WCF (5)
 
 
 
Color console class
Patrik Löwendahl - cshrp.net team

Color console
This example class uses a bunch of API's in the kernel32.dll to configure the Console. It can change the colors of text written , console title and position of the cursor

It demonstrates some intermediate interop techniques to cast different unmanaged strings from and to managed strings, and also works with the IntPtr data type for pointing to and from structs between the two worlds.

The readme.txt describes supported functions and their use.

Give it to me!