c# console writeline color
// C# program to illustrate the
// ForegroundColor property
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GFG {
class Program {
static void Main(string[] args)
{
// Display current Foreground color
Console.WriteLine("Default Foreground Color: {0}",
Console.ForegroundColor);
// Set the Foreground color to blue
Console.ForegroundColor
= ConsoleColor.Blue;
// Display current Foreground color
Console.WriteLine("Changed Foreground Color: {0}",
Console.ForegroundColor);
}
}
}
Also in C#:
- stop unity editor playing
- access dic by key c#
- nunit return parameter
- c# integer to bit string
- how to check if an integer is in array c#
- non null array length
- c# nullable generic
- const float c#
- get out of foreach statement c#
- texture to image unity
- unity fall damage c#
- list c#
- c# method info extension
- How to execute a script after the c# function executed
- unity set material
- c sharp substring
- prompt for array unity c# editor scripting
- how to change the title of the console in c#
- c sharp exit while loop
- converting letter to ascii
- unity t-flip flop
- c# dictionary literal initializer
- c# string
- getcomponent c#