I am about to replace all the literal string in the message with the constants. But really wanted to know is there any performance optimization behind this or is just for following coding standards. In below sample I have class Constants.
What are benefits of
var a=xmlNode.SelectNodes(Constants.DimLink);
Over
var a=xmlNode.SelectNodes("DimensionPointLink");