String
has no colour so you will need to store the colour along with the text somehow and then, whenever you display a text value, you do so using the associated colour. For instance, you might define a class with a property of type String
and another of type ConsoleColor
and store instances of that in an array instead of just Strings
.