The Google syntaxhighlighter in action.
//my daily routine class
private sealed class me : Friends
{
me.still_here = true;
me.awake = true;
me.thinkingAboutLeaving = true;
private enum methodOfTravel
{
cabbie,
el,
bus,
car
}
private enum drinks
{
beer,
vodkaRedBull,
champagne,
boonsFarm
}
main(string args[])
{
#region Properties
///
/// Get the user prefered method of travel info
///
[Bindable(true),
Category("Hit em up"),
DefaultValue("")]
public string MethodOfTravel
{
get
{
return methodOfTravel.el;
}
}
///
/// Get the user MySpace info
///
[Bindable(true),
Category("Hit em up"),
DefaultValue("")]
public string Myspace
{
get
{
return “myspace.com/jibmap”;
}
}
#end region
while(me.still_here && me.awake)
{
me.wake();
me.checkTextMessages();
me.leaveHouse();
me.commute(this.MethodOfTravel);
me.getDunkinDonuts();
me.code();
if(me.Hungry)
{
Donut donut = new Donut(”ChocolateSprinkles”);
me.eat(donut);
}
me.code(new string BoringUtility);
me.takeNap(15); //pass in minutes
me.readCraigsList();
me.code();
me.chat();
me.readDrudgeReport();
me.takeNap(20); //pass in minutes
me.codeChubOff();
if(new CodeMonkey().burntOut() == ((CodeMonkey)me).true)
{
me.still_here = false;
break;
}
}
if (DateTime.Now.DayOfWeek == DateTime.Friday)
{
Friends theOthers = new Friends();
theOthers.AcceptDrinkInvitation = me.sendMassImToFriends(new Subject(”Clinty Need Drinky”);
if(theOthers.AcceptDrinkInviation == true)
{
me.getFunkOn();
}
}
}
function getFunkOn()
{
print “Whut up mhy peeps? herrrre ez we go; letz g0 taooh tha maap rhoom./n”
print “” + me.Myspace.ToString() + “/n”;
print “” + me.On(MethodOfTravel) + “to” + me.FavoriteBar + “/n”;
print me.signiture();
}
}
output: Whut up mhy peeps? herrrre ez we go; letz g0 taooh tha maap rhoom.
output: el to tha map room
output: l8r
Have a nice day.
