Single-line comment at the end of a line of code in C#

C# Programming Language Overview of C# Language (Article) Overview of C# Language (Program)

293

Program:

using System;

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

Output:

Hello World!

Explanation:

None

This Particular section is dedicated to Programs only. If you want learn more about C# Programming Language. Then you can visit below links to get more depth on this subject.