How do I create a class instance and fill properties in F#?
문제
In C#, I can:
var n = new Person()
{
FirstName = "John",
LastName = "Smith"
};
Can I do the same in F#? I mean, to create a class and specify some properties.
올바른 솔루션이 없습니다
제휴하지 않습니다 StackOverflow