I would like to know a base thing.
_logger.LogInformation("Hi, Am I magic string?");
In the above line, does the string fall under magic string?
Any hardcoded validation/action against a response/return is considered a "magic string" to me. (Eg: _config["EmailTo"]
should be _config.EmailTo
, if(list.contains("error"))
should be if(list.contains(errorValue))
Appreciate your thoughts!