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; | |
namespace HW_War | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Platoon platoon1 = new Platoon(new List<Unit> |
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; | |
namespace HW_War | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Platoon platoon1 = new Platoon(new List<Unit> |
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; | |
namespace HW_GladiatorFights | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
FightManager manager = new FightManager(); |
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; | |
namespace HW_PassengerTrainManager | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
DispatchingOffice dispatchingOffice = new DispatchingOffice(); |
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; | |
namespace HW_Shop | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Buyer _buyer = new Buyer(30, new List<Product>() { }); |
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; | |
namespace HW_BookStorage | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Library library = new Library(); |
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; | |
namespace HW_DeckOfCards | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Croupier croupier = new Croupier(); |
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; | |
namespace HW_DataBaseOfPlayers | |
{ | |
internal 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 HW_WorkWithProperties | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Player player = new Player(15, 10, '@'); | |
Renderer renderer = new Renderer(); |
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 HW_WorkWithClasses | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Player player = new Player("Сергей", "програмист", 100); |