Variable Name with apostrophe in F#

Did you know ? . We can create a variable with the name containing apostrophe (‘) in F# .

Variable Name with apostrophe in F#

Below is a code snippet demonstrating how to have  apostrophe in a F# variable name.

open System
let main argv =
    let Friend's  = "Test string"
    let ret = Console.ReadLine()

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.
Pin It

Leave a Reply

Your email address will not be published. Required fields are marked *