3 ms·
You still need to have a class to put your functions in, but they can act only as a namespace, like `Math.DivRem()`. C# has been receiving many functional feat
by sedatk 2y ago
You still need to have a class to put your functions in, but they can act only as a namespace, like `Math.DivRem()`.
C# has been receiving many functional features over the years including pattern matching, composable data processing (Linq), tuples, and immutable data types. I'm looking forward to a good implementation of discriminated unions now.