Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
solutionyogi
on Feb 9, 2011
|
parent
|
context
|
favorite
| on:
Why I absolutely love java
As C# has some type inference, you can reduce it further:
var filtered = (new[] { 1, 2, 3, 4 }).Where(i => i % 2 != 0);
Not bad for a static language. :)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
var filtered = (new[] { 1, 2, 3, 4 }).Where(i => i % 2 != 0);
Not bad for a static language. :)