Пример #1
0
 private static Result <double, double> Division(double left, double right)
 {
     return(right == 0
         ? ResultExtensions.Error <double, double>(-1)
         : ResultExtensions.Ok <double, double>(left / right));
 }