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




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA