// i need to write a class for the below code ...please if any one can help it would be great...i am still new to learning c sharp ...using
namespace
{
CElevator anElevator =
anElevator.Status();
Console.WriteLine("At floor {0}", anElevator.Floor);
Console.WriteLine("Number of persons in elevator is {0}",
anElevator.Occupants);
Console.WriteLine();
anElevator.Enter(3);
anElevator.Enter(2);
anElevator.Leave(1);
anElevator.GoToFloor(3);
anElevator.GoDownOneFloor();
anElevator.GoUpOneFloor();
anElevator.GoToFloor(5);
Console.WriteLine("Time to get to floor 9 is {0:F2} seconds",
anElevator.TimeToFloor(9));
anElevator.Empty();
Console.WriteLine("It is " + anElevator.IsEmpty
+ " that the elevator is empty");
Console.WriteLine("It is " + anElevator.IsFull
+ " that the elevator is full");
anElevator.GoToTopFloor();
anElevator.GoToBottomFloor();
anElevator.Full();
anElevator.Enter(1);
}