Varaible name with space

Category:
Others
Description: Unlike other programming language, F# support a way to specify a variable name with space inside.
Code:
let VariableNameSample1() = 
let ``good one`` = 3
printfn "%d" ``good one``
Assert.AreEqual(``good one``, 3)

Execution Result:
3
both elements are equal

Last edited Sep 14, 2011 at 3:28 AM by ttliu2000, version 1

Comments

No comments yet.