Does using string literal in equality test create new strings?
===

does the following code create 3 new strings each time the method is called and evaluated to true or is the compile smart enough to compile the right hand side strings into constants?


if (somestring == "Test" || someString == "Test1")
{
   ...
   NotifyPropertyChanged("Name");
}