C# 11 - Generic Math(s)
Coding Tutorials
0:00 / 0:00
C# 11 - Generic Math(s)
4 917 просмотров · 3 года назад
Coding Tutorials
16,5 тыс. подписчиков
4 917 просмотров · 3 года назад
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...
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