Proposal in C#

public bool Propose(Mate sigOther)
{

bool answer = false;

Conversation convo = CellPhone.Call(PhoneBook.SearchFor("Florist", "Greenville")[0]);
convo.Recieve("Hello, some florist in Greenville");
convo.Send("Could you please send a single rose...");
convo.SendThanks();
convo.End();

Car vehicle = new Car("Eric's Car");
vehicle.GetIn(me);
vehicle.DriveTo(new Location("Chicago"));
vehicle.ValletPark();

Hotel hotel = new Hotel("Renaissance Hotel");
hotel.CheckIn();
hotel.FindRoom();

me.Change();
me.PutOn(typeof(Shirt), "Microsoft Student Ambassador");
me.PutOn(typeof(Suit), "Ralph Lauren Polo");

me.Locate(typeof(TabletPC));

while (!me.IsReady()) 
         me.PracticeProposal();

convo = me.WaitForCall();
convo.Recieve("Hello, Mr. Maino you limo is here.");
convo.Send("Thanks, I will be down in a few moments...");
convo.End();

me.PickUp(typeof(Flower), "Rose petals");
me.PickUp(typeof(CD), "Monster Ballads Vol. 1");

Car limo = new Car("White Limousine");
limo.GetIn(me);
limo.GiveDriverInstructions("Drive to the airport and pretend I am not in here");
limo.ExplainToStupidDriver("No, it's not her birthday. I am going to propose. See this ring");

me.PrepareLimo();

limo.GiveDriverInstructions("There she is... Remember I am not in here");
limo.GetIn(sigOther);

if
(me.PopsTheQuestion(sigOther) == BigQuestionAnswer.Yes)
       answer = true;

return
answer;

}

CORRECTION: Thanks to Jeff for pointing out the error. There is no type TablePC, but yet it's of type TabletPC.

UPDATE: I noticed a few more bugs in this code, just minor spelling typo's when creating the HumanInteractionAPI this evening.

15 Comments

Comments have been disabled for this content.