Home.NETVariable Name with apostrophe in F#

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
[<EntryPoint>]
let main argv =
    let Friend's  = "Test string"
    Console.WriteLine(Friend's)
    let ret = Console.ReadLine()
    0

Leave a Reply

You May Also Like

In this post, you’ll learn about the error message “WorkbookNotSupported – The file you selected cannot be opened because it...
  • .NET
  • December 17, 2022
In this post, you’ll learn about the error message “SpecifiedRangeNotFound – The requested range does not exist in the sheet.”...
  • .NET
  • December 17, 2022
In this post, you’ll learn about the error message “SheetRangeMismatch – The sheet provided as the sheet argument is not...
  • .NET
  • December 17, 2022