I have a method returning a List, let\'s call it GetSomeStrings().
GetSomeStrings()
I have an extension method on string class, returning number of characters in the str
var users = this.context.ad_user.ToDictionary(v => v.DistinguishedName, v => new ad_user { DistinguishedName = v.DistinguishedName, CN = v.CN, DisplayName = v.DisplayName, Info = v.Info, Mail = v.Mail });