i'm working on a project, and for that i want to display if the CPU architecture is 64 or 32 bit. Now, i already have that:
bool is64 = Environment.Is64BitOperatingSystem;
if (is64) { Console.WriteLine("Architecture: 64 bit"); }
else { Console.WriteLine("Architecture: 32 bit"); }
But i want to display the "Architecture" white, and the 64 bit or 32 bit part of the line green. is that possible? if so, i would appreciate it if I get an example of how to do it.
EDIT
people misunderstand this question. i mean something like this:
Anyone?