Javatpoint Logo
Javatpoint Logo

F# Operator Overloading

Operator overloading is a methodology by which you can redefine operator behavior according to your custom need. You can overload all arithmetic operators. Operators must be defined as static. All unary operators must use ~ (tiled) operator to indicate that this is unary operator.


F# Operator Overloading Example

Output:

5 3
15 13
Next TopicF# Delegate




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA