예제 #1
0
        public static string GetString(AllowChangeDate allowChangeDate)
        {
            string ret = "";

            switch (allowChangeDate)
            {
            case AllowChangeDate.Yes:
                ret = "yes";
                break;

            case AllowChangeDate.No:
                ret = "no";
                break;

            default:
                break;
            }
            return(ret);
        }
예제 #2
0
 public static string GetString(AllowChangeDate allowChangeDate)
 {
     string ret = "";
     switch (allowChangeDate)
     {
         case AllowChangeDate.Yes:
             ret = "yes";
             break;
         case AllowChangeDate.No:
             ret = "no";
             break;
         default:
             break;
     }
     return ret;
 }