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.
True, I did the same thing with IF and Else...
plagiarism: https://stackoverflow.com/a/24031467
Too much thought shortcuts. Better format code such that you store intermediate operations in variables.
This way code is much more clear to the readers.
But aside from that, clever ;-)
Could be less verbose.
Yet very clear and to the point.
Why comment obvious code?
This is considered code smell,
Usually you place in comments information about "why" not "what" to justify your decision, when the code is not obvious.
Oh my, who likes it: Enteprise Edition :D
Clever, but I would reject a pull request containing something like this; overuse of ternary operator.
Instead of if..else if.. you could just use switch case (more readable, better optimized in clr).
Instead of string concatenation you could use string interpolation.
Why so many comments? Comments ought to be used to express intent or reason when code does not express it, not describe the implementation, code should speak for itself.