VARIABLES AND TYPES


        //These are libraries from which you can get additional commands for your program

        using System;
        using System.Collections.Generic;
        using System.Linq;
        using System.Text;
        using System.Threading.Tasks;
        
        namespace Class1
        {
            //This is the program where all our code will be...
            internal class Program
            {
                //This is the main static function... this is important,
                ///because it is the core of our program, without it, the program will not work.
                static void Main(string[] args)
                {
                    //code
                    //Data types:
                    /*
                    When you create variables... 
                    they must always be together... 
                    and they should NOT contain symbols like «#$%&...». !» ... 
                    The best option is to name variables in English...
                    */
                    string word = "HI, WORLD";
                    Console.WriteLine(word); //Data type for characters...
                                            //such as letters or symbols like: «#»#"$#$!
                    
                    Console.WriteLine(); //Line break
                    
                    int number = 1; //Integer data type... 1,2,3,4,5... 
        
                    double number2 = 2.5; //This is the reference point for decimal numbers... 1.5, 2.5, 3.5....
        
                    float number3 = 2.4f; /*Floating-point value... 
                                        which also accepts decimal numbers... but is most often used 
                                        for money calculations... 
                                            it has a shorter length
                                            than double... 7 decimal places.
                                        and you need to add the 'f' sign at the end
                                        */
                    //Data input:
                    Console.WriteLine("Hi, Anya"); //Command to print a message
                    Console.WriteLine("Enter number 1:");
                    number = int.Parse(Console.ReadLine()); //Store data in
                                                            //my integer variable...
                                                            //but only integer values are allowed...
        
                    Console.WriteLine("Enter number 2:");
                    number2 = double.Parse(Console.ReadLine());
        
                    //Here we will perform calculations:
                    double result = number + number2;
        
                    //We output the result:
                    Console.WriteLine("Sum of the numbers: " + result);
        
                    Console.ReadKey(); //We close the program
                }
            }
        }