Operators

Arithmetic Operators

Comparison Operators

To customize the comparison functions, override Equals to provide your own custom equality comparison, and then implement IComparable. The System.IComparable interface has a single method, the CompareTo method.

Boolean Operators

Bitwise Operators

Type Inference

Operators default to int type. Add a type annotation to override

1: 
2: 
3: 
let function1 x y = x + y // inferred as int

let function2 (x: float) y = x + y // override to use different types