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