operator / method

dynamic operator /(
  1. Object o
)

Implementation

operator /(Object o){
   switch(o){
    case int i:
      return this * (1 / i);
    case double d:
      return this * (1 / d);
   }
}