Answer to Question #27236 in C# for Naresh

Question #27236
Write a program that displays "Congratulations! You have cleared this Level. Entering Level 2..." in
red color.
1
Expert's answer
2013-03-29T05:24:45-0400

using System;
using System.Text;

namespace Question_27236
{
class Program
{
static void Main(string[] args)
{
Console.BackgroundColor = ConsoleColor.Black;
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("Congratulations! You have cleared this Level. Entering
Level 2..");
Console.ResetColor();
Console.ReadKey();
}
}
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS