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.
Absolutely not a "best practice" because of the way Dictionary is used.
Since a while, .Net take care of the order of insertion, but it is not specify and can change at any time.
A dictionary is meaned to store a relation between keys and values, not the order of keys.
The usage of anonymous class or Tuple would be far better.
The rest is perfect.
what am I even looking at
this guy is dangerous guys keep him away from society
Creative use of Aggregate for text formatting.
Just a remark to always benchmark your code to make this statement. As newer releases of .Net Core also Regex gets faster and faster.
So better stay maintainable and readable and let the performance guys do their work
References:
I like the way you calculated years and so on.
There is actually no difference as these functions are evaluated lazily.
This comment is hidden because it contains spoiler information about the solution
how to view hidden comment?
Because none of the tests check for leading apostrophes