In C#, I can do the following:
int @private = 15;
And in VB.NET, I can do the following:
Dim [Private] As Integer = 15
I am wondering if there is a way in F# to use reserved keywords as identifiers, like there is in VB.NET and C#?
In C#, I can do the following:
int @private = 15;
And in VB.NET, I can do the following:
Dim [Private] As Integer = 15
I am wondering if there is a way in F# to use reserved keywords as identifiers, like there is in VB.NET and C#?
Given section 3.4 of the F# 2.0 spec:
I suspect you can put it in backticks:
I haven't tried it though.