I would like to ask a question regarding constants, I know the approach or recommendations regarding this but recently I've been assigned to a project where the previous developers were using resourcekeys that are present both in SQL DB and C# classes and the usage of repeating magic strings inside the project is... very sad, literally by the tens of thousands of magic strings (i vomited in my mouth)
So what i did was i created a simple sql to extract and create a variable declaration of each of those resourcekeys and simply to be pasted into target internal sealed classes. Around 4000 keys, into around 7 groups, so roughly 500+ resourcekeys per class.
Now another developer told me a concern about performance in loading all these keys, I haven thnought of that honestly, but i believe that it shouldn't be much of an issue.
is there really such a thing is TOO MANY constants?
Thanks in advance