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





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