I’ve just noticed two struct objects, JwtHeaderParameterNames and JwtRegisteredClaimNames, whose only purpose is to store string
constants.
-
Why would they make them structs even though there are already some static classes for constants in the namespace?
-
Why would you make a struct that contains only constants or static
members?
Thanks