Empty String
What is Outcome and why?
var str = string.Empty;
switch (str)
{
case string.Empty:
Console.WriteLine(“Empty 1”);
break;
case “”:
Console.WriteLine(“Empty 2”);
break;
default:
Console.WriteLine(“default”);
}
Block will not produce any output ?, will get compilation error instead in vs.