View Single Post
Old 01-20-2009, 02:03 PM  
margarita
Confirmed User
 
Join Date: Jun 2003
Posts: 917
Quote:
Originally Posted by polle54 View Post
thanks and here you go:
C#

Code:
public class MetaMan
{
 public ValueOfAction OpenMouth()
 {
    return ValueOfAction.None;
 }

 public List<ValueOfAction> CloseMouth()
 {
    List<ValueOfAction> returnlist = new List<ValueOfAction>();
    returnlist.Add(ValueOfAction.Relief);
    returnlist.Add(ValueOfAction.BetterWorld);

    return returnlist;
 }
}

public Enum ValueOfAction
{
   None,
   Relief,
   BetterWorld
}
You could stay in school another 1 or 2 years to get to C++ level
__________________
Check out my favourite kinky sponsor and must-have tool Nifty Stats
margarita is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote