Example #1
0
 public double this[string key, double def]
 {
     get
     {
         if (!ds.containsKey(key))
         {
             return(def);
         }
         return(this[key]);
     }
 }
Example #2
0
 public bool this[string key, bool def]
 {
     get
     {
         if (!ds.containsKey(key))
         {
             return(def);
         }
         return(this[key]);
     }
 }
Example #3
0
 public int this[string key, int def]
 {
     get
     {
         if (!ds.containsKey(key))
         {
             return(def);
         }
         return(this[key]);
     }
 }