Does F# allow defining a member with the name of a keyword?
type Fruit =
val type : string
in C# this is possible using @:
class Fruit
{
string @type;
}
Use double-backticks:
type Fruit =
val ``type`` : string
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With