Coding Shorts: Generic Attributes in C# 11



Coding Shorts: Generic Attributes in C# 11

Coding Shorts: Generic Attributes in C# 11

I’ve been busy with a lot of small projects lately. Among these is to get up to speed with .NET 7 and C# 11. One of the things I’ve been curious about is the new support for Generic Attributes. After some digging, I think I understand where they belong. Let’s discuss it in my new Coding Short video:

0:00 – Intro
0:43 – Before Generic Attributes
2:21 – Enabling Generic Attributes
2:58 – Retrieving Generic Arguments using Reflection
5:06 – Using Generic Constraints

If you like this video, you might like other videos in my Instructional Videos:

– https://www.youtube.com/playlist?list=PLtOvnDRdH12e3vOq4zvpI2cKsancIwMcP

Or my Pluralsight Courses:

– https://shawnl.ink/psauthor