ComedyCode.com
Home Categories Languages Random New Popular Links
Search 

Share This Code!
Send this code to a friend!

ComedyCode of the Week
Check out this week's highlighted snippet!

New Here?
Create an account and become a ComedyCoder today!




May 13, 2008

get Money for Beer

using DadRoom;

namespace Children
{
  public class Son
  {
    Dad objDad;
    Money myMoney;
    public Son()
    {
      objDad = new Dad();
      this.FathersName = objDad.getName();
    }
    private Money getMoney()
    {
      Purse objPurse = (Purse)
      objDad.getPurse();
      while(!objDad.isInHouse())
      {
        objPurse.open();
        myMoney = objPurse.getMoney();
        if(myMoney  
           >=System.Liquors.Beer.Price)
		break;

      }

   }

  }
}


Coded by: Achayan (16) Yellow Star
View other ComedyCode by this comedycoder.
Send this comedycoder a message.
Submitted on: October 20, 2004
Category: Drinking
Show me more Drinking snippets.
Programming language: C#
Show me more C# snippets.
Viewed by: 7474 unique visitors


Ratings & Comments

The following ratings and comments have been submitted about this code:

Rating: Hilarious

Great Yaaar... Excellent One

By: GKK kkG


Rating: Hilarious

Gr8

By: Ashik C


Rating: Hilarious

KEEP IT UP

By: asf


Rating: Hilarious

GOOD ONE

By: JK


» Submit Code
» Login

Rate This Code!

Login or create an account.




Copyright © 2001-2004 - N-VisionIT Interactive
Website Design, Development & Hosting by N-VisionIT Interactive