This project is read-only.
Keyword as variable name

Category:
Others
Description: Keyword as variable name. when need to use keyword as variable name, here is a way.
Code:
let VariableNameUseKeyword() = 
let ``let`` = 3
printfn "%d" ``let``
Assert.AreEqual(``let``, 3)

Execution Result:
3
both elements are equal

Last edited Sep 14, 2011 at 4:29 AM by ttliu2000, version 1

Comments

No comments yet.