News for hackers. Stuff that matters.
Re:C# Hidden Optimizations by oozcitak on Tuesday October 12, 2010 @07:15AM (#1782957)
I don't think that would work. How would the compiler know the type of x and the return type of the lambda expression?
Re:C# Hidden Optimizations by the_rara_avis on Tuesday October 12, 2010 @10:18AM (#1783441)
It won't. In just about all cases, C# doesn't do backtracking to infer types. See Eric Lippert's posts: http://blogs.msdn.com/b/ericlippert/archive/2010/10/04/no-ba...