public string this[char character] { get { string code = string.Empty; SymbolCodes.TryGetValue(character, out code); return(code); } }
public string this[char character] { get { SymbolCodes.TryGetValue(character, out string?code); return(code ?? string.Empty); } }