Attributes on a variable ?

I have never used attributes before and looking for some information or point me in the right direction

I want to be able to “tag” certain const strings in lots of different files

These I want to collect at runtime and check them against a file which has information IE

[fileCheck] Public const string HOUSE1 = “House 1”;

It will gather all the tagged strings in project and check in a file I want , ie, a JSON file , so there is no mismatch in code and JSON file ?

submitted by /u/theDodgerUk
[link] [comments]

Leave a Reply