Skip to content
  • Home
  • Blogs
  • QNA
    • Community
    • Ask
    • Questions
  • Explore
    • Tools
    • Computer Science
    • Electrical
    • Electronics
    • Digital Marketing
    • Technology
    • Hiring Process
    • Interview Questions
    • Roadmap
    • Comparison
    • What Is
    • Project
    • Top Things
    • TechNews
  • News?
  • Login
newlogo of cs Electrical And Elect
  • Home
  • Blogs
  • QNA
    • Community
    • Ask
    • Questions
  • Explore
    • Tools
    • Computer Science
    • Electrical
    • Electronics
    • Digital Marketing
    • Technology
    • Hiring Process
    • Interview Questions
    • Roadmap
    • Comparison
    • What Is
    • Project
    • Top Things
    • TechNews
  • News?
  • Login

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

All Questions › Category: C#_language › What is the basic syntax of C# or C sharp?
0 Vote Up Vote Down
Chetan Shidling asked 5 years ago

I need short information.

1 Answers
0 Vote Up Vote Down
Chetan Shidling answered 5 years ago

The basic syntax of C# is
 

using System;

namespace HelloWorld
{
  class Program
  {
    static void Main(string[] args)
    {
      Console.WriteLine("Hello World!");    
    }
  }
}
Proudly powered by WordPress | RealEstate Pack Lite by Wp Theme Space.

WhatsApp us