Skip to content

Instantly share code, notes, and snippets.

using System;
namespace ConsoleMenu
{
internal class Program
{
static void Main(string[] args)
{
const string CommandshowTextFirst = "1";
const string CommandshowTextSecond = "2";
using System;
namespace CurrencyConverter
{
internal class Program
{
static void Main(string[] args)
{
const string CommandExchangeRubToUsd = "1";
const string CommandExchangeUsdToRub = "2";
using System;
namespace NameOutput
{
internal class Program
{
static void Main(string[] args)
{
string userName;
string lineBoarder = "";
@VladimirYus
VladimirYus / gist:056e2a8aaf909a7580e588a34fcc50a7
Last active November 29, 2025 10:52
ProgramPasswordProtected
using System;
namespace ProgramPasswordProtected
{
internal class Program
{
static void Main(string[] args)
{
string password = "qwerty";
string userInputPassword;
using System;
namespace Multiples
{
internal class Program
{
static void Main(string[] args)
{
int multipleLowerNumber = 10;
int multipleUpperNumber = 25;
using System;
namespace PowerOfNumberTwo
{
internal class Program
{
static void Main(string[] args)
{
int randomNumder;
int power = 1;
using System;
namespace BossBattle
{
internal class Program
{
static void Main(string[] args)
{
const string CommandPlayerDamage = "1";
const string CommandPlayerFireballDamage = "2";
@VladimirYus
VladimirYus / gist:17f1a7f12a8b749f5045e754ced292c4
Last active December 5, 2025 10:42
WorkingWithSpecificRowsColumns
using System;
namespace WorkingWithSpecificRowsColumns
{
internal class Program
{
static void Main(string[] args)
{
int line = 5;
int column = 5;
using System;
namespace LargestElement
{
internal class Program
{
static void Main(string[] args)
{
int[,] arrayNumbers = new int[10, 10];
using System;
namespace LocalMaximum
{
internal class Program
{
static void Main(string[] args)
{
int lowerNumberRandom = 0;
int upperNumberRandom = 100;