Re:C# Hidden Optimizations
by yread on Tuesday October 12, 2010 @06:44AM
(#1782912)
well you can write it as
[ Parent
| on HN ]
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...