Is there any difference between this:
myList.Where(item => item == 0).First();
and this:
myList.First(item => item == 0);
The later makes far more sense to me as it is shorter, but I seem to see the top version more often.
there is no difference other than style preference
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With