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.
let main argv =
let Friend's = "Test string"
let ret = Console.ReadLine()
You may also like -
- Declaring Variables in F#
- How to Find the Sum of odd numbers from 0 to 100 in F# ?
- F# Compiler Error – This is not a valid numeric literal. Sample formats include 4, 0x4, 0b0100, 4L, 4UL, 4u, 4s, 4us, 4y, 4uy, 4.0, 4.0f, 4I
- Documentation and Learning resources for F#
- Getting started with Windows Phone Development in F#
- Functional Conf 2014 – Asia’s Premier Functional Programming Conference
- F# enters the Top 20 Languages, Lua, and Objective-C move upwards
- Microsoft’s Visual Studio 2010 Launched
- Download Visual Studio 11 Preview
- How to Combine Urls in C# ?
- How to convert byte array to string in C#?
- How to Split a String based on delimiter in C# ?
- Visual Studio 2010 and .NET Framework 4 Training Kit – June 2010 Release
- Resources for learning ADO.NET Entity Framework