Skip to content

Instantly share code, notes, and snippets.

@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";
@Attosius
Attosius / gist:6af7ff8b9a891e253a6706611a391c4a
Last active November 23, 2025 18:22
ДЗ: Динамический массив продвинутый
using System;
using System.Collections.Generic;
using System.Linq;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
@Attosius
Attosius / gist:ce10479c7ab4705f9b0143da3122ffd5
Created November 23, 2025 17:25
ДЗ: Очередь в магазине
using System;
using System.Collections.Generic;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var purchasesSums = new Queue<int>();
@Attosius
Attosius / gist:e35292fbf5c96aeff5d1bc6584e0cd51
Created October 13, 2025 18:39
ДЗ: Толковый словарь
using System;
using System.Collections.Generic;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var explanatoryDictionary = FillDictionary();
@Attosius
Attosius / gist:49d26778a7d83097490f4c4ef19b3fdc
Last active October 9, 2025 19:52
ДЗ: Brave new world
using System;
using System.IO;
using System.Runtime.CompilerServices;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
@Attosius
Attosius / gist:6c1bacf4481f6e68888701ad0b6d516e
Last active September 29, 2025 19:22
ДЗ: Кадровый учет
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
const string CommandAddRecord = "1";
const string CommandShowAllRecords = "2";
@Attosius
Attosius / gist:8a47db9409444d402b548f7ac17c3a44
Last active September 28, 2025 17:02
ДЗ: Канзас сити шафл
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var arrayToSort = new[] {1, 2, 3, 4, 5};
WriteArray(arrayToSort);