My Lessons

Lesson-01 [22/12/2021]

  • Lesson

        01) CLI languages,
        02) For Loop,
        03) Switch Statement,
        04) Data Types,
        05) Stack Value Type,
        06) Heap Reference Type,
        07) Stack vs Heap Memory.
    
  • Task

        01) Everyone should create and build a cs file in the command.
    

Lesson-02 [25/12/2021]

  • Lesson

        01) Ref & out keyword C#,
        02) Methods,
        03) Type Casting,
        04) Boxing and Unboxing.
    
  • Task

        01) Write by ref and out. After capturing the multiplier table of the entered person,
            you collected and appropriated the final result.
            For example: 5 included. 1 * 5 = 5.2 * 5 = 10 ... sonda 5 + 10 + ..
    

Lesson-03 [29/12/2021]

  • Lesson

        01) Method Overloading,
        02) String Methods,
        03) Arrays,
        04) Duplicate values.
    
  • Task

        01) Set the algorithm of the String Substring method;
        02) Set the algorithm of the reverse method: input: hello, output: olleh
        03) An algorithm that verifies that a given word is a palindrome,
            for example: input: main, output: main (reads the same from left and right)
        04) Remove Allow algorithm to delete duplicate letters input: csharpcorner, output: csharpone c
        05) Build an algorithm to find the average value of 5 numbers;
        06) Build an algorithm that finds the area and perimeter of a rectangle;
        07) Build an algorithm that records the multiplication table of the entered number;
        08) Construct the algorithm of the sum of squares between the given numbers 1;
        09) Build an algorithm that calculates the difference 
            between the sum of the numbers between the numbers given by 0;
        
        Optional:
        10) Write a method that deletes spaces between words. For example: "hello my name is Mina";
        11) Set the algorithm of the Replace method,
        12) Set the algorithm of the split method.
    

Lesson-04 [05/01/2022]

  • Lesson

        01) Use Params Keyword,
        02) Class And Object.
    
  • Task

        01) bool a = (3 + 4 * 2 == 2 * 3) && (true + false / 2) What is the result of the 
            expression and state the reason. (Please do not write the code in VS!).
        02) Write a program that finds the sum of the digits of a given 4-digit
            number (Example: int a = 1298 Result: 1 + 2 + 9 + 8 = 20)
        03) Write a program that displays the single digits between 
            the digits of a given number on the screen (Example: int a = 1298 Result: 1.9)
        04) Ask Console.Readline to enter the user's age.
            If the user is less than 30 years old, print the user's age square on the screen
            If the age is between 30-40, print the last digit of the entered number on the screen
            If age is less than 0 or greater than 100, type "Did you enter incorrect information" on the screen
        05) When entering the value of the month, write a method that shows how gun it is and which chapter it is
        06) The methiod that finds the largest element of the array
        07) A methiod that finds the smallest element of an array
            Given numbers = [1,2,3,6,7,8,23,78,34,12]
        08) Write a method that finds the sum of odd numbers
        09) Write a method that prints the number of 3-digit numbers on the screen
        11) Write a method that separates single numbers and collects them in a separate array
        12) Sort the numbers from largest to smallest
        13) Connect 2 separate arrays.
        14) Return the last letter of the word entered by the user.
        15) Write the method that finds the Length of the given word or array.
    

Lesson-05 [08/01/2022]

  • Lesson

        01 ) String vs StringBuilder
        02 ) Constructors
    
  • Task

        01) Student class-i yaradin:
            Fullname
            GroupNo
            Age
            Student classi ucun GetBirthYear() metodunu yazin.Bu metod Studentin dogum ilini geri qaytarir
            Student Arrayi yaradin.
            Qrup nomresini daxil etmekle bir qrupda nece telebenin oxudugunu check eden method yazin.(2ci parametr kimi array daxil edeceksiz)
            ps:Student yaradilarken butun deyerlerin verilmesi mecburidir
    

Lesson-06 [12/01/2022]

  • Lesson

        01 ) Static keyword
        02 ) Static keyword 2
    
  • Task

        01) Account - class
            No - her bir account obyektinin unique nomersidir ve onun necenci yarandigini gosterir
            Username
            Password
            IsUserNameValid() method - username yanlizca digit ve herflerden ibaret ola biler yoxlanisi
    
            IsPasswordValid() method-uzunluq 8-25, siferenin icinde en az bir symbol,1 uppurcase letter ve en az bir digit istifade olunmalidir yoxlanisi console readlinedan aldiginiz datani bu methodlarda yoxlayib sonra yeni obyekte menimsedeceksiz...
    
            1.Constructorda name ve password qebul edilsin