publicclass House
{
public string make;
public string model;
public string color;
publicint yearBuilt;
publicvoid Start()
{
System.Console.WriteLine(model + " started");
}
publicvoid Stop()
{
System.Console.WriteLine(model + " stopped");
}
}
class MainClass
{
publicstaticvoid Main()
{
House myHouse;
System.Console.WriteLine("Creating a House object and assigning its memory location to myHouse");
myHouse = new House();
}
}
Creating a House object and assigning its memory location to myHouse