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.
better to use: word.ToLower(CultureInfo.CurrentCulture);
nice you cared about the culture, but CurrentCulture will be a better use -> Common Mistake #3 -> https://www.toptal.com/c-sharp/top-10-mistakes-that-c-sharp-programmers-make
This comment is hidden because it contains spoiler information about the solution
using peopleInLine.Count() is a bad practice when you have the Length available, also you might not want to use it in a loop, in this case int[] implements ICollection, so it will return the Length in O(1) complexity.
but if you had another type of IEnumerable that does not implements ICollection it would have count the total collection in O(N) complexity, in each loop iteration - resulting to a undesired complexity of O(N ^ 2).