b'\n_START_ARTICLE_\nC sharp\n_START_SECTION_\nProgrammas piem\xc4\x93rs\n_START_PARAGRAPH_\n\xc5\xa0is ir vienk\xc4\x81r\xc5\xa1s "Sveika pasaule!" programmas piem\xc4\x93rs C# valod\xc4\x81:_NEWLINE_using System;class Program{_NEWLINE_    static void Main()_NEWLINE_    {_NEWLINE_        Console.WriteLine("Sveika, pasaule!"); // izvade uz ekr\xc4\x81na_NEWLINE_        Console.ReadLine(); // tiek aptur\xc4\x93ta loga t\xc5\xabl\xc4\xabt\xc4\x93ja aizv\xc4\x93r\xc5\xa1an\xc4\x81s_NEWLINE_    }}_NEWLINE_Programmas piem\xc4\x93rs ar string tipa main\xc4\xabgo, kuru ievada lietot\xc4\x81js:_NEWLINE_using System;class Program_NEWLINE_    {_NEWLINE_        static void Main(string[] args)_NEWLINE_        {_NEWLINE_            string vards = ""; //defin\xc4\x93 string (simbolu virknes) tipa main\xc4\xabgo ar nosaukumu vards_NEWLINE__NEWLINE_            Console.Write("Ievadi savu v\xc4\x81rdu: "); //  izvada tekstu uz ekr\xc4\x81na_NEWLINE_            vards = Console.ReadLine(); //pie\xc5\xa1\xc4\xb7ir main\xc4\xabgajam vards lietot\xc4\x81ja ievad\xc4\xabto v\xc4\x93rt\xc4\xabbu_NEWLINE__NEWLINE_            //Variants Nr.1_NEWLINE_            Console.WriteLine("Sveiks,{0}!", vards); //izvada Sveiks + lietot\xc4\x81ja ievad\xc4\xabto v\xc4\x93rt\xc4\xabbu Nr.1_NEWLINE_            //Variants Nr2_NEWLINE_            Console.WriteLine("Sveiks," + vards + "!"); //izvada Sveiks + lietot\xc4\x81ja ievad\xc4\xabto v\xc4\x93rt\xc4\xabbu Nr.2_NEWLINE__NEWLINE_            Console.ReadKey(); // tiek aptur\xc4\x93ta loga t\xc5\xabl\xc4\xabt\xc4\x93ja aizv\xc4\x93r\xc5\xa1an\xc4\x81s_NEWLINE_        }_NEWLINE_    }_NEWLINE_Programmas piem\xc4\x93rs kura pieprasa divus main\xc4\xabgos a un b p\xc4\x93c tam pieprasa darb\xc4\xabbu: saskait\xc4\xab\xc5\xa1anu, at\xc5\x86em\xc5\xa1anu, reizin\xc4\x81\xc5\xa1anu, dal\xc4\xab\xc5\xa1anu._NEWLINE_ class Program_NEWLINE_    {_NEWLINE_        static void Main(string[] args)_NEWLINE_        {_NEWLINE__NEWLINE_            int a = 0, b = 0, c = 0; // defin\xc4\x93 integer (veselais skaitlis) tipa main\xc4\xabgos_NEWLINE_            double r = 0; // defin\xc4\x93 double tipa main\xc4\xabgo_NEWLINE__NEWLINE_            Console.Write("Ievadiet a v\xc4\x93rt\xc4\xabbu: "); // izvada tekstu uz ekr\xc4\x81na_NEWLINE_            a = int.Parse(Console.ReadLine()); // pie\xc5\xa1\xc4\xb7ir main\xc4\xabgajam a lietot\xc4\x81ja ievad\xc4\xabtu v\xc4\x93rt\xc4\xabbu_NEWLINE__NEWLINE_            Console.Write("Ievadiet b v\xc4\x93rt\xc4\xabbu: "); // izvada tekstu uz ekr\xc4\x81na_NEWLINE_            b = int.Parse(Console.ReadLine()); // pie\xc5\xa1\xc4\xb7ir main\xc4\xabgajam b lietot\xc4\x81ja ievad\xc4\xabtu v\xc4\x93rt\xc4\xabbu_NEWLINE__NEWLINE_            Console.Write("Izvelieties darb\xc4\xabbu: \\n 1. + \\n 2. - \\n 3. * \\n 4. /\\n"); // izvada tekstu uz ekr\xc4\x81na_NEWLINE_            Console.Write("Darb\xc4\xabba: ");_NEWLINE_            c = int.Parse(Console.ReadLine()); // pie\xc5\xa1\xc4\xb7ir main\xc4\xabgajam c lietot\xc4\x81ja ievad\xc4\xabto v\xc4\x93rt\xc4\xabbu_NEWLINE__NEWLINE_            switch (c) _NEWLINE_            {_NEWLINE_                case 1: r = a + b; break; _NEWLINE_                case 2: r = a - b; break;_NEWLINE_                case 3: r = a * b; break;_NEWLINE_                case 4: r = (double)a / (double)b; break;_NEWLINE_            }_NEWLINE__NEWLINE_            Console.Write("Risinajums: {0:0.000} ",r);_NEWLINE__NEWLINE_            Console.ReadKey(); // tiek aptur\xc4\x93ta loga t\xc5\xabl\xc4\xabt\xc4\x93ja aizv\xc4\x93r\xc5\xa1an\xc4\x81s_NEWLINE_        }_NEWLINE_    }'