Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
"In the solution which everyone is marking as best practice, there is a conversion to (int). Once you use Range and Except you are dealing with INTs at that point. Is (int) conversion really necessary? Just discussing :)"
No, conversion is not at all neccessary. Also, if you peek at the definition in the System.Linq namespace:
public static IEnumerable<int> Range(int start, int count);
There is no IEnumerable<double> Range etc... so there is no confusion.
.......
On another note: I notice a lot of folks using FirstOrDefault() and in the case that the Except returns an empty enumerable, 0 would be returned. This would be the incorrect answer. First() throws an InvalidOperationException, but it's not misleading like 0.