Give your strings context with StringSyntaxAttribute #37
Replies: 1 comment 1 reply
-
|
https://github.com/linkdotnet/BlogExamples/blob/main/StringHightlighting =>404 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Give your strings context with StringSyntaxAttribute
Strings are one of the most universal data types. We use them for URLs or regular expressions or even to define some date. With .NET 7 we have a new way of giving those strings a bit of meaning. Meet StringSyntaxAttribute.
I also show you a way how to use them in .NET 6 and earlier.
https://steven-giesel.com/blogPost/d2b2fc18-ca4c-4879-b87f-a1d36f435805
Beta Was this translation helpful? Give feedback.
All reactions