Skip to content

Instantly share code, notes, and snippets.

@armaovertobi
armaovertobi / gist:be3b4bf0c52f2ffb995f9b75f3de4a80
Last active March 13, 2026 00:39
ДЗ: Хранилище книг
using System;
using System.Collections.Generic;
namespace Homework
{
internal class Program
{
static void Main(string[] args)
{
BooksStorage bookStorage = new BooksStorage();
@armaovertobi
armaovertobi / gist:54980cef0544e0693d8d568e792c1423
Last active March 4, 2026 19:44
ДЗ: Колода карт
using System;
using System.Text;
using System.Collections.Generic;
namespace Homework
{
internal class Program
{
static void Main(string[] args)
{
@armaovertobi
armaovertobi / gist:f3ecb61e227b32ca41f37f2a1bac82ab
Last active March 2, 2026 20:45
ДЗ: База данных игроков
using System;
using System.Collections.Generic;
namespace Homework
{
internal class Program
{
static void Main(string[] args)
{
Database database = new Database();
@armaovertobi
armaovertobi / gist:982928198e48e2d5df9890acdfcf4f92
Created February 28, 2026 10:20
ДЗ: Работа со свойствами
using System;
namespace Homework
{
internal class Program
{
static void Main(string[] args)
{
Renderer renderer = new Renderer();
Player player = new Player(50, 20, '@');
@armaovertobi
armaovertobi / gist:411cac293843a95fb542ead24c3b8b39
Last active February 28, 2026 09:24
ДЗ: Работа с классами
using System;
namespace Homework
{
internal class Program
{
static void Main(string[] args)
{
Player player1 = new Player("Vecna", 1234);
Player player2 = new Player("El", 5346);
@armaovertobi
armaovertobi / gist:9225f3d0e11e21dfe45826a34f8c0a27
Created February 22, 2026 18:36
ДЗ: Объединение в одну коллекцию
using System;
using System.Collections.Generic;
namespace Homework
{
internal class Program
{
static void Main(string[] args)
{
string[] array1 = ReadArray();
@armaovertobi
armaovertobi / gist:4f355089780682711c8243e2afecb454
Last active February 22, 2026 16:56
ДЗ: Кадровый учет продвинутый
using System;
using System.Collections.Generic;
namespace Homework
{
internal class Program
{
static void Main(string[] args)
{
const string CommandAddDossier = "1";
@armaovertobi
armaovertobi / gist:057283094198a4f7267aaaf3f365350d
Last active February 19, 2026 17:45
ДЗ: Динамический массив продвинутый
using System;
using System.Collections.Generic;
namespace Homework
{
internal class Program
{
static void Main(string[] args)
{
const string CommandSum = "Sum";
@armaovertobi
armaovertobi / gist:71245152f53872a4d45fab46839a2efd
Created February 18, 2026 19:18
ДЗ: Очередь в магазине
using System;
using System.Collections.Generic;
namespace Homework
{
internal class Program
{
static void Main(string[] args)
{
const int MinPurchaseAmount = 100;
@armaovertobi
armaovertobi / gist:12231c8f3d5b8df8419892906888a653
Last active February 18, 2026 18:38
ДЗ: Толковый словарь
using System;
using System.Collections.Generic;
namespace Homework
{
internal class Program
{
static void Main(string[] args)
{
Dictionary<string, string> dictionary = new Dictionary<string, string>();