C# färben bestimmten Bereich?

1 Antwort

Console.Write("Ich bin die Farbe ");
Console.ForegroundColor = ConsoleColor.Red;
Console.Write(" rot ");
Quelle:
https://msdn.microsoft.com/en-us/library/system.console.foregroundcolor(v=vs.110).aspx
Sekai2706 
Fragesteller
 23.02.2016, 19:18

dies weiß ich auch aber wie mache ich nur dieses array da rot :/ also so wie im beispiel meine ich (Ich bin die Farbe rot soll nicht rot sein xD)

0
SonnyBlackAUT  25.03.2016, 18:57
@Sekai2706

Console.Write("Ich bin weiß " );

Console.ForgroundColor = ConsoleColor.Red;

Console.Write(array[0]);

1