TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ram Prasad
NA
326
18.1k
Assign custom color to console.background
Apr 10 2020 12:48 AM
I have created a custom class to have more options for background color than ConsoleColor which only gives me 15 options. How can I assign my custom color to console.background?
Console.BackgroundColor = ???;
public enum CustomColor
{
DarkBlue, DarkGreen, DarkCyan, Teal, DarkRed, Violet, DarkYellow, Gray, DarkGray, Blue, Green, Cyan, Red, Magenta, Yellow, White, Aquamarine, Azure, BurlyWood, CadetBlue, Gainsboro, Gold, Gray, Khaki, LawnGreen, LightGreen, LightSkyBlue, Linen, MediumOrchid, MediumPurple, MistyRose, Olive, OliveDrab, Orange, OrangeRed, Orchid, PaleTurquoise
}
Reply
Answers (
3
)
Why won't my "Delete an entry" section of code work?
Create a program with a questions