This repository has been archived on 2020-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
ibz/oop/2018-02-24_sep/2018-02-24_sep/Hotel.cs

21 lines
393 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _2018_02_24_sep
{
class Hotel
{
public string name { get; set; }
public List<Room> rooms { get; set; }
public Hotel(string name)
{
this.rooms = new List<Room>();
this.name = name;
}
}
}