Skip to content

Instantly share code, notes, and snippets.

@Attosius
Attosius / gist:d50f2d3d91398ac4dd6d2f3e4ba936f7
Last active December 30, 2025 19:56
ДЗ: Гладиаторские бои
using System;
using System.Collections.Generic;
using System.Threading;
namespace IJuniorTasks
{
public interface IDamageable
{
void TakeDamage(int damage);
}
@Attosius
Attosius / gist:d9e1cc2e3ab5d9b6aaeeef9dbb641308
Last active December 21, 2025 17:33
ДЗ: Конфигуратор пассажирских поездов
using System;
using System.Collections.Generic;
using System.Linq;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
@Attosius
Attosius / gist:32613d94cbd33861e991c509275f1b70
Last active December 15, 2025 18:04
ДЗ: Магазин
using System;
using System.Collections.Generic;
using System.Linq;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
@Attosius
Attosius / gist:978a9b11d56886d4c7cc6e585d700eda
Last active December 14, 2025 17:52
ДЗ: Хранилище книг
using System;
using System.Collections.Generic;
using System.Linq;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
@Attosius
Attosius / gist:829a8aa2d506f023cdb3d54b6683d362
Last active December 14, 2025 12:40
Колода карт
using System;
using System.Collections.Generic;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var administrator = new Administrator();
@Attosius
Attosius / gist:f2c4e93b2383af4a0527a29c16857035
Last active December 13, 2025 16:59
ДЗ: База данных игроков
using System;
using System.Collections.Generic;
using System.Linq;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
@Attosius
Attosius / gist:eded57688fa7ed39132e078087aa9b0d
Last active December 4, 2025 19:38
ДЗ: Работа со свойствами
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var player = new Player(10, 20, "@");
var drawer = new Drawer();
@Attosius
Attosius / gist:8c8eff37f3b4c623f3d9215c4a80b7c6
Last active December 4, 2025 19:00
ДЗ: Работа с классами
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var player = new Player("Player1", 10, 5);
player.ShowInformation();
@Attosius
Attosius / gist:2228e46bb5ab0b7c69c0824833004c3e
Created November 30, 2025 17:25
ДЗ: Объединение в одну коллекцию
using System;
using System.Collections.Generic;
using System.Linq;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
@Attosius
Attosius / gist:469fea46e5ff19189709d6a0c1fbfc9a
Last active November 30, 2025 17:04
ДЗ: Кадровый учет продвинутый
using System;
using System.Collections.Generic;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
const string CommandAddRecord = "1";