Skip to content

Instantly share code, notes, and snippets.

View Muther90's full-sized avatar

Ilya Muther90

View GitHub Profile
@Muther90
Muther90 / Работа со свойствами
Last active August 5, 2024 12:48
Работа со свойствами
using System;
using System.Collections.Generic;
namespace ConsoleApp1
{
internal class Program
{
static void Main(string[] args)
{
int positionX = 2;
@Muther90
Muther90 / База данных игроков
Last active August 9, 2024 14:03
База данных игроков
using System;
using System.Collections.Generic;
namespace ConsoleApp1
{
internal class Program
{
private enum Command
{
AddPlayer = '1',
@Muther90
Muther90 / Работа с классами
Created July 26, 2024 06:16
Работа с классами
using System;
using System.Collections.Generic;
namespace ConsoleApp1
{
internal class Program
{
static void Main(string[] args)
{
Player player1 = new Player("Александр", 19, "fullmetal");
@Muther90
Muther90 / Объединение в одну коллекцию
Last active July 16, 2024 16:27
Объединение в одну коллекцию
using System;
using System.Collections.Generic;
namespace ConsoleApp1
{
internal class Program
{
static void Main(string[] args)
{
string[] numbers = { "1", "2", "1" };
@Muther90
Muther90 / Кадровый учет продвинутый
Last active July 13, 2024 12:40
Кадровый учет продвинутый
using System;
using System.Linq.Expressions;
namespace ConsoleApp1
{
internal class Program
{
static void Main(string[] args)
{
const char CommandEmploeeAdd = '1';
@Muther90
Muther90 / Динамический массив продвинутый
Last active July 11, 2024 13:53
Динамический массив продвинутый
using System;
using System.Globalization;
using System.Linq.Expressions;
namespace ConsoleApp1
{
internal class Program
{
static void Main(string[] args)
{
@Muther90
Muther90 / Очередь в магазине
Last active July 10, 2024 17:19
Очередь в магазине
using System;
using System.Collections.Generic;
namespace ConsoleApp1
{
internal class Program
{
static void Main(string[] args)
{
Queue<int> clientsQueue = new Queue<int>();
@Muther90
Muther90 / Толковый словарь
Last active July 10, 2024 11:57
Толковый словарь
using System;
using System.Collections.Generic;
namespace ConsoleApp1
{
internal class Program
{
static void Main(string[] args)
{
Dictionary <string, string> wordDictionary = new Dictionary<string, string>();
@Muther90
Muther90 / Brave new world.txt
Last active July 9, 2024 05:34
Brave new world
using System;
namespace ConsoleApp6
{
internal class Program
{
const char SymbolWall = '#';
const char SymbolEmpty = ' ';
const char SymbolCoin = 'U';
const char SymbolPacman = '@';
@Muther90
Muther90 / Кадровый учет
Last active June 10, 2024 10:45
Кадровый учет
using System;
namespace ConsoleApp
{
internal class Program
{
static void Main(string[] args)
{
string[] employeeFullName = { "Ниязов Сапармурат Атаевич", "Бердымухамедов Гурбангулы Мяликгулыевич", "Бердымухамедов Сердар Гурбангулыевич" };
string[] employeePosition = { "Первый Директор", "Второй директор", "Третий директор" };