Skip to content

Instantly share code, notes, and snippets.

View AlostGames's full-sized avatar

Alex AlostGames

  • Alost Games
View GitHub Profile
using System;
namespace LearningProject
{
internal class Program
{
static void Main(string[] args)
{
const string menuCommand = "menu";
const string jokeCommand = "joke";
using System;
namespace LearningProject
{
internal class Program
{
static void Main(string[] args)
{
int maxNumber = 103;
int startNumber = 5;
using System;
namespace LearningProject
{
internal class Program
{
static void Main(string[] args)
{
Random rand = new Random();
int randomNumber = rand.Next(101);
using System;
namespace LearningProject
{
internal class Program
{
static void Main(string[] args)
{
// Последовательность идет до максимального числа.
// Легче задать конечное условие, чем считать число повторений. Использую while
using System;
namespace LearningProject
{
internal class Program
{
static void Main(string[] args)
{
string userMessage = "";
string exitWord = "exit";
using System;
namespace LearningProject
{
internal class Program
{
static void Main(string[] args)
{
string userMessage = "";
using System;
namespace LearningProject
{
internal class Program
{
static void Main(string[] args)
{
int repeatsCount;
string userMessage;
using System;
namespace LearningProject
{
internal class Program
{
static void Main(string[] args)
{
int peopleInQueue;
int minutesWaitOnePerson = 10;
using System;
namespace LearningProject
{
internal class Program
{
static void Main(string[] args)
{
int coins;
int crystals = 0;
using System;
namespace LearningProject
{
internal class Program
{
static void Main(string[] args)
{
string namePerson1 = "Alex";
string namePerson2 = "Maxim";