Javatpoint Logo
Javatpoint Logo

F# Records

Records are used to store elements in the form of label and value. It can store any type of data. You are not bound to store same type values as list. Records are immutable by default so you can't modify original records.

Syntax:


F# Creating and Accessing Record Example

Output:

{x = 2.0;
 y = 1.0;
 z = 0.0; }
2.000000
Next TopicF# Enumerations




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA