using System;

      Csharp language logo
      Creates an using

      C# recipes

      namespace ConsoleApplication1 { class Program { static void Main() { Console.WriteLine("In ConsoleApplication1.Program"); } } }

      The ConsoleApplication1.Program class is defined in a namespace called ConsoleApplication1. This means that the Main method can access the members of the ConsoleApplication1 namespace.

      Shortcut: using


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.