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

static void Main(string[] args) { System.Console.Write("hello"

Sy

CodeChallenge.cs
    class CodeChallenge
    {
        static void Main(string[] args)
        {
            System.Console.Write("hello");

        }
    }

1 Answer

Your Syntax is correct. However you dont need to to add the class and the main method n a code challenge

  System.Console.Write("Hello");

is already enough to complete the challenge.