Hi guru's.
I think i am in over my head in this school project and i have lost my focus/logic so i hope someone of you can help direct me the right way. Please bear with me. This might seem a bit big to you at first glance. I have to build a cinemahall with rows and seats so i made a datatier with a class library:
Rows
public class Row
{
private int number;
public Row(int number)
{
this.number = number;
}
public int Number
{
get { return number; }
set { number = value; }
}
}
Then i created a businesstier with an Interface and a class:
public interface ICinema
{
void AddRow(Row row);
void AddSeat(Row startSeat, Row endSeat);
int GetNoOfRows();
int GetNoOfSeats();
}
public class Cinema : ICinema
{
private IList<Row> rows;
private int[,] cinemaMatrix; //adjacen ...
Go to the complete details ...