Skip to content

Instantly share code, notes, and snippets.

@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);
@Attosius
Attosius / gist:3342f95f1603ef4de011b0ae8976f6df
Created September 28, 2025 17:00
ДЗ: Канзас сити шафл
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var arrayToSort = new[] {1, 2, 3, 4, 5};
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
DrawBar("Health", 10, 1, 10, '#', ConsoleColor.Red, 40);
DrawBar("Mana", 10, 2, 10, '#', ConsoleColor.Blue, 80);
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var number = ReadInt();
Console.WriteLine(number);
@Attosius
Attosius / gist:329341b32d0602ffe22ac604034039ec
Last active September 8, 2025 18:59
ДЗ: Скобочное выражение
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var bracesString = "(()(()))";
@Attosius
Attosius / gist:e7f27184ec6b5ac879eb3cf017faf2c1
Created September 7, 2025 17:39
ДЗ: Сдвиг значений массива
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
int[] numbersForShift = { 1, 2, 3, 4 };
using System;
using static System.Net.Mime.MediaTypeNames;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var textForSplit = "Текст для проверки работы функции String.Split()";
@Attosius
Attosius / guide.md
Created September 7, 2025 11:04 — forked from TheFern2/guide.md
How to use go sfml with windows mingw64 powershell
@Attosius
Attosius / gist:9220e419323c5174dabe5a2ec7934319
Created September 7, 2025 10:49
ДЗ: Сортировка чисел
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var arraySize = 30;
int[] numbers = new int[arraySize];
@Attosius
Attosius / gist:fb70cf73b39c01102e3e53d211c5e2fe
Last active September 7, 2025 09:04
ДЗ: Подмассив повторений чисел
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
var arraySize = 30;
int[] numbers = new int[arraySize];