Closed CBielstein closed 2 years ago
This is an interesting feature I thought it was already there in C# but I have seen some literature on C#10. Definitely a very good issue and will read around it and understand more before our next meeting
This is an interesting feature I thought it was already there in C# but I have seen some literature on C#10. Definitely a very good issue and will read around it and understand more before our next meeting
@eddywine This is really a longer-term issue that I opened to remind us to do it someday. Current versions of C# don't allow a variable value as part of a constant definition, even if that variable is itself constant. C#10 will likely require .NET 6 support which isn't supposed to release until later this month, so we have plenty of time on this issue.
Description
C# 10 supports string interpolation for constants. This would be helpful in places like the regex file at src\AprsParser\RegexStrings.cs.
Acceptance Criteria