Ronaldo Rosa

Greenhorn
+ Follow
since Mar 14, 2021
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ronaldo Rosa

The topic "Restrictions on Using var in the Parameter List" proposes to evaluate if some lambda expressions does compile or not.

At line 4, the expression "var w -> 99" does not compile. But the book says that it is "because parentheses, (), are required when using the parameter name.".

I disagree with the ending, as parameter names are always mandatory. A better explanation would be  "because parentheses, (), are required when using the parameter **type**.".

Thanks for your attention!