|
|
Examples of immutable structs in C# | Immutable structs fits nicely with value semantics. This is illustrated
with the continuation of the example from the previous page. |
An example of immutable points in C# and functional programming style |
There is a misfit between mutable datatypes and use of value semantics It is recommended to use structs in C# together with a functional programming style |
|