Goto statement in c#

Goto statement in c#

 

using System;
namespace ConsoleApplication
{
class usingcsharp
{ 
    static void Main(string[] args)
    {
        Console.WriteLine(" Goto Start ");
        goto g;
        Console.WriteLine("Line gets skipped");
        g:
        {
            Console.WriteLine("This section will be displayed");
        }            
        Console.Read();
    }
}
}

2021-10-03