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





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA