What is the basic syntax of C# or C sharp?


Warning: Trying to access array offset on false in /home3/indiakep/public_html/wp-content/plugins/dw-question-answer/inc/Template.php on line 8
All QuestionsCategory: C#_languageWhat is the basic syntax of C# or C sharp?
Chetan Shidling asked 6 years ago

I need short information.

1 Answers
Chetan Shidling answered 6 years ago

The basic syntax of C# is
 

using System;

namespace HelloWorld
{
  class Program
  {
    static void Main(string[] args)
    {
      Console.WriteLine("Hello World!");    
    }
  }
}