Skip to content

Instantly share code, notes, and snippets.

namespace IJunior
{
public class Program
{
private static void Main(string[] args)
{
List<Soldier> soldiers1 = new List<Soldier>
{
new Soldier("Бурдюк"),
new Soldier("Барсук"),
using System.Diagnostics.Contracts;
namespace IJunior
{
public class Program
{
private static void Main(string[] args)
{
List<Soldier> soldiers = new List<Soldier>
{
namespace IJunior
{
public class Program
{
private static void Main(string[] args)
{
List<Stew> stews = new List<Stew>
{
new Stew("Простоквашино", 1999,20),
new Stew("Военная", 2004,25),
namespace IJunior
{
public class Program
{
private static void Main(string[] args)
{
List<Player> players = new List<Player>
{
new Player("Abibas", 35, 220),
new Player("Artas", 12, 20),
namespace IJunior
{
public class Program
{
private static void Main(string[] args)
{
Hospital hospital = new Hospital();
hospital.Work();
}
namespace IJunior
{
public class Program
{
private static void Main(string[] args)
{
List<Prisoner> prisoners = new List<Prisoner>
{
new Prisoner ("Ignat", "Ел мел"),
new Prisoner ("Wasyan", "Исполнял"),
namespace IJunior
{
public class Program
{
private static void Main(string[] args)
{
Detective detective = new Detective();
int height = detective.GetHeight();
int weight = detective.GetWeight();
namespace IJunior
{
public class Program
{
private static void Main(string[] args)
{
AutoserviceWorker worker = new AutoserviceWorker();
worker.Work();
}
namespace IJunior
{
public class Program
{
private static void Main(string[] args)
{
Zoo zoo = new Zoo();
zoo.Work();
}
namespace IJunior
{
public class Program
{
private static void Main(string[] args)
{
AquariumWorker worker = new AquariumWorker();
worker.Work();
}