Quantcast
Channel: Select(c => c)
Browsing all 2 articles
Browse latest View live

Select(c => c)

Hi miksh; When you are using method syntax as you are the Select method can be omitted unless it is doing something other then c => c.When you use query syntax it cannot be omitted for example:var...

View Article



Select(c => c)

In a project I inherited I found numerous usages of expressions like belowcontext.MyObject.Where(<some filter>).Select(c => c).ToList()I believe that Select (c => c) could be omitted. Am I...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images