This file contains 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; | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
} | |
} |
This file contains 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; | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string CommandAddBook = "1"; | |
const string CommandRemoveBook = "2"; | |
const string CommandShowAllBooks = "3"; |
This file contains 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; | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Croupier croupier = new Croupier(); | |
croupier.StartGame(); |
This file contains 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; | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string CommandAddPlayer = "1"; | |
const string CommandBanPlayer = "2"; | |
const string CommandUnbanPlayer = "3"; |
This file contains 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
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Player player = new Player(10, 10, '@'); | |
Renderer renderer = new Renderer(); | |
renderer.DrawPlayer(player); | |
} | |
} |
This file contains 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; | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Player player1 = new Player("Денис", 18, 3, "Орк"); | |
Player player2 = new Player("Вадим", 15, 12, "Рыцарь"); | |
player1.DisplayInfoPlayer(); |
This file contains 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; | |
namespace Task003 | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
string[] words1 = new string[] {"привет", "пока", "собака", "кошка", "привет"}; |
This file contains 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; | |
namespace Task003 | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string CommandAddEmployee = "1"; |
This file contains 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; | |
namespace Task003 | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
bool isWork = true; |
This file contains 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; | |
namespace Task003 | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Queue<int> cashRegister = new Queue<int>(); |
NewerOlder