Skip to content

This repository contains 10 basic console projects for teaching programming in C#.

Notifications You must be signed in to change notification settings

Ambivalenz/Educational-Projects

Repository files navigation

Educational projects

1. Application with the simplest console menu

  • Count a number from 1 to N

  • Draws a square that is a multiple of the number 3.


  • Calculate the number of repetitions of words in the text.

  • Calculate BMI (body mass index) based on the parameters entered by the user: Weight and Height.

  • Generates an array with random elements, the length is equal to an integer entered by the user. Finds the minimum and maximum array element, sorts the array and outputs the basic information and sorted array to the user.

  • The "User" structure has been created.

  • To test the console application, GarbageCollector is used, after each manipulation with the library, the memory size is displayed before and after cleaning.


3. Library for interacting with collections

  • Calculates the frequency of repetition of words in the text.

  • Implementation of its dynamic array. The default length is 8. Implements the basic IEnumerable interface. There is a possibility of both adding a single number, adding a range of numbers, deleting and inserting elements into a certain index. There are methods for comparing Equals and transforming an array to a string representation.


  • The sorting library provides the following methods:

    • Sorting start and end events.

    • Sorting the array.

    • Output of the array to the screen.


5. Working with Json

  • Library for working with serialization and deserialization

  • Serialization of the "Author" object

  • Writing information about the author to a Json file.

  • Reading information about the author from a file.


  • Movie class - parses data from a csv file with movie statistics from the top 250 kinopoisk.

  • Displays a list of films whose year is > 1950. Sorts the rating in descending order and outputs the first 50.

  • Outputs all unique movies and sorts them by country, which is equal to "USSR"

  • Displays all films whose country is "Germany". Sorts by rating.

  • Displays all films whose year is > 1980 and director = David Fincher


  • Coordinate structure along the X and Y axes.

  • User class contains the first name, last name, patronymic, date of birth, age, constructor and toString method.

  • Employee class, which is inherited from the user base class. Contains work experience, position.

  • An abstract Philosopher class that inherits from the interface. Contains the name of the philosopher

  • Kant class, inherited from the philosopher, it defines the name and philosophical school.

  • Round class. Contains the center of the circle, its length, area, radius, and appropriate methods for calculating its characteristics.


  • Converts the date from UTC format to local time.


  • File copying - implements copying bytes from one file to another, writing to the file and its end. There are events for the start and end of the operation.

  • File Reading - implements file reading in byte representation.


  • Initializing a dynamic array

  • Cleaning test.

  • Capacity test.

  • Initialization with a minimum integer value.

  • Creating an array with a null value.

  • Adding a collection of values to the end of the array.

  • Removing elements from the array.

  • Test for comparing array types.