-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
24 lines (23 loc) · 728 Bytes
/
Program.cs
File metadata and controls
24 lines (23 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
Airport A = new Airport();
Plane plane = new Plane("Plane", 19985.4, 2005, 200.6, "BT-89", 45);
Helicopter helicopter = new Helicopter("Helicopter", 489732.45, 1998, 789.7, "TR-42", 50.1, 21);
Freighter freighter = new Freighter("Freighter", 65456.12, 2016, 454.8, "QW-6", 54, "Odessa");
A.add(plane);
A.add(helicopter);
A.add(freighter);
A.print();
System.Console.ReadKey();
}
}
}