Skip to content

Instantly share code, notes, and snippets.

View Strelok78's full-sized avatar

Shota Strelok78

View GitHub Profile
@Strelok78
Strelok78 / iJunior_C#_Lesson_56
Last active June 26, 2025 20:57
Store application (buyer, trader, product)
using System;
using System.Collections.Generic;
namespace iJuniorPractice
{
class Program
{
static void Main(string[] args)
{
AppController appController = new AppController();
@Strelok78
Strelok78 / iJunior_C#_Lesson_55
Last active June 16, 2025 12:20
Book Shell with search (by book params), add, remove options
using System;
using System.Globalization;
using System.IO;
using iJuniorPractice;
namespace iJuniorPractice
{
class Program
{
static void Main(string[] args)
using System;
using System.IO;
using iJuniorPractice;
namespace iJuniorPractice
{
enum Suit
{
Hearts,
Diamonds,
@Strelok78
Strelok78 / iJunior_C#_Lesson_53
Last active June 11, 2025 19:44
player data base (data base as class)
using System;
using System.IO;
using iJuniorPractice;
namespace iJuniorPractice
{
class Program
{
static void Main(string[] args)
{
@Strelok78
Strelok78 / iJunior_C#_Lesson_52
Last active June 9, 2025 15:52
class and constructor practice
using System;
using System.IO;
namespace iJuniorPractice
{
class Program
{
static void Main(string[] args)
{
Player player = new Player(1, 1, '@');
@Strelok78
Strelok78 / iJunior_C#_Lesson_51
Created June 4, 2025 18:32
class and properties lesson
using System;
using System.IO;
namespace iJunior_Practice
{
class Program
{
static void Main(string[] args)
{
Player player = new Player("Ivan", 30);
@Strelok78
Strelok78 / iJunior_C#_Lesson_50
Last active June 4, 2025 17:58
Console game (move symbol in symbol map)
using System;
using System.IO;
namespace iJunior_Practice
{
class Program
{
static void Main(string[] args)
{
char wallSymbol = '#';
@Strelok78
Strelok78 / iJunior_C#_Lesson_49
Last active May 23, 2025 11:36
Workers records manager (using only arrays for the workers, positions and final record combinations)
namespace iJuniorPractice
{
class Program
{
static void Main(string[] args)
{
const int AddRecordCommand = 1;
const int ShowRecordsCommand = 2;
const int DeleteRecordCommand = 3;
const int SearchBySurnameCommand = 4;
@Strelok78
Strelok78 / iJunior_C#_Lesson_48
Last active May 13, 2025 13:51
Array Shuffle func
namespace iJuniorPractice
{
class Program
{
static void Main(string[] args)
{
int[] numbers = { 1, 2, 3, 4, 5, 6 };
Console.WriteLine("Origin array: ");
PrintArray(numbers);
@Strelok78
Strelok78 / iJunior_C#_Lesson_47
Last active May 13, 2025 13:24
Parametr Bar in console
namespace iJuniorPractice
{
class Program
{
static void Main(string[] args)
{
float healthCurrentRate = 80;
float manaCurrentRate = 40;
int barLength = 10;