ResXResourceReader resxr = new ResXResourceReader(txt_WebResourceOpenFile.Text); IEnumerable<DictionaryEntry> rrt = from DictionaryEntry d in resxr select d; var result = (from DictionaryEntry d in resxr select d)