Javatpoint Logo
Javatpoint Logo

F# Self Identifier

In F#, self is used to refer current object of class type. Self is same as this keyword in C# and java. You can name the self identifier however you want. You are not restricted to names such as this or self as in .Net languages.


F# Self (this) Example

Output:

100 Rajkumar
Next TopicF# Static




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA