Skip to content

Instantly share code, notes, and snippets.

using System;
namespace UIElement
{
internal class Program
{
static void Main(string[] args)
{
int lengthBar = 20;
int percentHealth = 10;
using System;
namespace ReadInt
{
internal class Program
{
static void Main(string[] args)
{
int convertedNumber = GetValidIntegerUser();
@VladimirYus
VladimirYus / gist:b0dac723d37fd864f4e38bd3445bd6e8
Last active December 12, 2025 10:14
ParentheticalExpression
using System;
namespace ParentheticalExpression
{
internal class Program
{
static void Main(string[] args)
{
int currentDepth = 0;
int maxDepth = 0;
using System;
namespace ShiftingArrayValues
{
internal class Program
{
static void Main(string[] args)
{
int arraySize = 10;
int lowerNumberRandom = 0;
using System;
namespace Split
{
internal class Program
{
static void Main(string[] args)
{
string text = "Строка с несколькими словами, которую нужно разделить на слова и каждое слово с новой строки.";
using System;
namespace SortNumbers
{
internal class Program
{
static void Main(string[] args)
{
int numberDigits = 10;
int lowerNumbersRandom = 0;
@VladimirYus
VladimirYus / gist:edc55478729056455ce4d5968cab28b6
Last active December 11, 2025 03:03
SubarrayRepeatingNumbers
using System;
namespace SubarrayRepeatingNumbers
{
internal class Program
{
static void Main(string[] args)
{
int numberDigits = 30;
int lowerNumbersRandom = 3;
using System;
namespace DynamicArray
{
internal class Program
{
static void Main(string[] args)
{
const string CommandSum = "sum";
const string CommandExit = "exit";
using System;
namespace LocalMaximum
{
internal class Program
{
static void Main(string[] args)
{
int lowerNumberRandom = 0;
int upperNumberRandom = 100;
using System;
namespace LargestElement
{
internal class Program
{
static void Main(string[] args)
{
int[,] arrayNumbers = new int[10, 10];