public static void Add(string languageName,string languageUrl) { if (Languages.ContainsKey(languageName)) { Languages[languageName] = new LangType(languageName,languageUrl); return; } Languages.Add(languageName, new LangType(languageName, languageUrl)); }