Page 56 - CSharp/C#
P. 56

Chapter 1: Getting started with C# Language




        Remarks



        C# is a multi-paradigm, C-descendant programming language from Microsoft. C# is a managed
        language that compiles to CIL, intermediate bytecode which can be executed on Windows, Mac
        OS X and Linux.

        Versions 1.0, 2.0 and 5.0 were standardized by ECMA (as ECMA-334), and standardization efforts
        for modern C# are underway.



        Versions



          Version    Release Date


          1.0        2002-01-01

          1.2        2003-04-01


          2.0        2005-09-01

          3.0        2007-08-01


          4.0        2010-04-01

          5.0        2013-06-01


          6.0        2015-07-01


          7.0        2017-03-07



        Examples


        Creating a new console application (Visual Studio)


            1.  Open Visual Studio

            2.  In the toolbar, go to File → New Project
            3.  Select the Console Application project type
            4.  Open the file Program.cs in the Solution Explorer
            5.  Add the following code to Main():


         public class Program
         {
             public static void Main()
             {
                 // Prints a message to the console.


        https://riptutorial.com/                                                                                2
   51   52   53   54   55   56   57   58   59   60   61