Example #1
0
        internal static string ColorString(this GemColor gem)
        {
            switch (gem)
            {
            case GemColor.UNDEFINED:
                return(null);

            default:
                return(gem.ToString());
            }
        }
Example #2
0
 protected string GetGemDescription()
 {
     return("Color of this gem is : "
            + GemColor.ToString());
 }