在F#中使用关键字作为标识符 [英] Using keywords as identifiers in F#
本文介绍了在F#中使用关键字作为标识符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在C#中,我可以执行以下操作:
In C#, I can do the following:
int @private = 15;
在VB.NET中,我可以执行以下操作:
And in VB.NET, I can do the following:
Dim [Private] As Integer = 15
我想知道F#中是否可以像VB.NET和C#中那样使用保留关键字作为标识符?
I am wondering if there is a way in F# to use reserved keywords as identifiers, like there is in VB.NET and C#?
推荐答案
查看全文