Introducing C# 10: Seal overriden ToString() method on records

added by DotNetKicks
7/19/2021 3:50:41 PM

866 Views

Microsoft has introduced last year records. Which a new way to declare object. Records were, and still are a great feature of C# 9. This year Microsoft is releasing C# 10 which is part of .NET 6 and improves records: The possibility (like a regular class) to seal the overidden ToString() method.


0 comments