How do I return the string "test"? I'm using ??
operator and method GetStringValue
returns empty string.
Current value of X
is "", but it's should be "test"?
var X = GetStringValue() ?? "test";
private static string GetStringValue()
{
return string.Empty;
}