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 Players_DataBase | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| Database database = new Database(); | |
| DatabaseManager databaseManager = new DatabaseManager(); | |
| databaseManager.HandleDatabase(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
| namespace Work_with_Properties | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| Player player = new Player(5, 4, '#'); | |
| DrawTool drawTool = new DrawTool(); | |
| drawTool.Draw(player); |
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 Work_with_classes | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| Player player = new Player("Rudolf", 25); | |
| player.ShowInfo(); | |
| } | |
| } |
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 ArrayUnification | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int[] firstArray = { 1, 2, 4, 5, 8, 63 }; | |
| int[] secondArray = { 2, 33, 5, 6, 7 }; | |
| HashSet<int> unitedNumbers = new HashSet<int>(); |
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 HRCounting | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| const string CommandAdd = "1"; | |
| const string CommandPrintAll = "2"; | |
| const string CommandDelete = "3"; | |
| const string CommandSearch = "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 Dynamic_Array | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| const string CommandSum = "sum"; | |
| const string CommandExit = "exit"; | |
| bool isRun = true; |
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 Shop_Queue | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int incomeMoney = 0; | |
| string openShop = "Магазин открыт"; | |
| Queue<int> customersBuy = new Queue<int>(); |
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 Dictionary | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| const string CommandFind = "1"; | |
| const string CommandExit = "2"; | |
| Dictionary<string, string> words = new Dictionary<string, string>(); |
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 BraveNewWorld | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| string mapText = "##########\n" + | |
| "# # #\n" + | |
| "### # # ##\n" + |
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 static System.Runtime.InteropServices.JavaScript.JSType; | |
| namespace HRCounting | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| const string CommandAdd = "1"; | |
| const string CommandPrintAll = "2"; |
NewerOlder