private string GetValueByKey()

in 04-Refactoring/Refactoring/11-Convert_methods_and_indexers.cs [39:42]


        private string GetValueByKey(string key, string @default)
        {
            return lookup.ContainsKey(key) ? lookup[key] : @default;
        }