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.
Thanks for explaining your choices :)
if (items == null || items.Length == 0)
C# compiler makes check on null them self, soif (items.Length == 0)
is enought.max = items[i].CompareTo(max) > 0 ? items[i] : max;
is slower thenif (max.CompareTo(items[i]) < 0) max = items[i];
I love
var
more thenT
because code can be copied and paste to another place without changing.