1.

What Is Self In F#?

Answer»

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.

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.



Discussion

No Comment Found