This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Runtime.InteropServices; | |
using System.Xml; | |
using static System.Runtime.InteropServices.JavaScript.JSType; | |
namespace ConsoleApp4 | |
{ | |
public class Program | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Xml; | |
using static System.Runtime.InteropServices.JavaScript.JSType; | |
namespace ConsoleApp4 | |
{ | |
public class Program | |
{ | |
static void Main(string[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Xml; | |
using static System.Runtime.InteropServices.JavaScript.JSType; | |
namespace ConsoleApp4 | |
{ | |
public class Program | |
{ | |
static void Main(string[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Xml; | |
namespace ConsoleApp4 | |
{ | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
string userInput; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Xml; | |
namespace ConsoleApp4 | |
{ | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Database database = new Database(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace ConsoleApp4 | |
{ | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int playerX = 12; | |
int playerY = 10; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace ConsoleApp4 | |
{ | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
string playerName = "Василий"; | |
int playerPower = 100; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ConsoleApp4 | |
{ | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Random random = new Random(); | |
int maxArraySize = 4; | |
int maxElementValue = 4; | |
string[] array1 = new string[random.Next(maxArraySize) + 1]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ConsoleApp4 | |
{ | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string CommandAddEmployee = "1"; | |
const string CommandRemoveEmployee = "2"; | |
const string CommandShowFullInfo = "3"; | |
const string CommandExit = "4"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ConsoleApp4 | |
{ | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const char PlayerSymbol = 'Я'; | |
const char WallSymbol = '#'; | |
const char CoinSymbol = '$'; | |
const char EmptySymbol = ' '; |
NewerOlder