public bool GetDeveloperDictionaryWithFiveLetterKeyAmount()
 {
     return(ListaSlownikowa.Where(item => item.Key.Length == 5).ToDictionary(item => item.Key, item => item.Value) != null ? true : false);
 }
Beispiel #2
0
 public List <string> GetProffesionList(string key)
 {
     return(ListaSlownikowa.Where(item => item.Key == key).Select(item => item.Value).ToList());
 }
 public List <string> GetArchitectList()
 {
     return(ListaSlownikowa.Where(item => item.Value == "Architect").Select(item => item.Key).ToList());
 }
Beispiel #4
0
 public List <string> GetUsernamesByValue(string value)
 {
     return(ListaSlownikowa.Where(item => item.Value == value).Select(item => item.Key).ToList());
 }