Javatpoint Logo
Javatpoint Logo

F# Access Elements of Tuples Using Built-In Functions

In F#, tuples provide built-in functions. You can access first element by using fst () and second element by using snd () function. Let's see an Example.

Output:

First element = 1
Second element = FSharp
Next TopicF# List




Youtube For Videos Join Our Youtube Channel: Join Now

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA