C# C# Basics (Retired) Console I/O Say Hello!

Abdul Wahid Ibrahimy
Abdul Wahid Ibrahimy
4,458 Points

I want to display the Hello and getting Bummer! error

What is wrong with my code?

CodeChallenge.cs
using static System.Console;
namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            // Prompt the user for minutes exercised
            WriteLine(" Hello ");
        }
    }
}

1 Answer

Ashley Carpenter
Ashley Carpenter
13,393 Points

Hey, try Console.WriteLine(" Hello ");

Abdul Wahid Ibrahimy
Abdul Wahid Ibrahimy
4,458 Points

Hey, thanks for your help and I have tried many times but it doesn't work.

Thanks