F# equivalent of C#’s Object Initialization syntax
In C#, you can use the object/collection initialization syntax like this: The F# equivalent of object initialization is done like this: As for collection initialization, you have a far more diverse range of tools available to you, for example: You can also create slices of an existing array: You can even add your own multi-dimensional …
F# equivalent of C#’s Object Initialization syntax Read More »