Add a link to 'Records' section microsoft.learn

Add a link to 'Records' section microsoft.learn
This commit is contained in:
Masoud Nazari 2023-03-11 18:40:48 +03:30 committed by GitHub
parent 694c6c2072
commit 3348bdcd2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -363,6 +363,7 @@
- [Using Tuples in C# to Initialize Properties in the Constructor and to Deconstruct Your Object](https://www.thomasclaudiushuber.com/2021/03/25/csharp-using-tuples-to-initialize-properties/)
## Pattern matching, Records, and Miscellaneous
- [Records (C# reference)](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/record)
- [Tutorial: Use pattern matching to build type-driven and data-driven algorithms](https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/tutorials/pattern-matching)
- [Comparing struct and class records](https://devblogs.microsoft.com/dotnet/announcing-net-6-release-candidate-2/#record-structs)
- [How do I calculate someone's age based on a DateTime type birthday?](https://stackoverflow.com/questions/9/how-do-i-calculate-someones-age-based-on-a-datetime-type-birthday)