C# 11 – Generic Math(s)



C# 11 is here! The first thing we’re looking at is how we can put static abstract methods into interfaces – most importantly, symbolic operators.

Source code available at: https://github.com/JasperKent/Generic-Maths

Topics include:
– C# 11 and .NET 7
– LINQ extension methods
– Complex numbers
– Generic constraints
– Using static interface members in generics
– Operator overloading
– record structs
– The IAdditionOperators interface, and related interfaces

Comments are closed.