Hi All,
list.OrderBy(c => c.EmailAddress1).Where(c => c.IsPrimaryContact == true).ToList();
list.Where(c => c.EmailAddress1).OrderBy(c => c.IsPrimaryContact == true).ToList();
Is any perfromance implications.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit GuptaPosted Feb 16, 2018, 8:16 AM
list.Where(c => c.EmailAddress1).OrderBy(c => c.IsPrimaryContact == true).ToList();