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.
Join concatinates (string that we point as "", use method Enumerable.Repeat it takes string(pair Key) + int(how many times it repeats) and input devided by value in dictionary pair(exnpl: input = 2000/1000 = 2 == MM ).
Than input we % by pair value because if we don't, it shows in console all keys in every value.
exmpl: input = 2000
otput = MM for the first pair
MMCMCMCM for second
and lats one will be in "I" for 2000 times
Sorry for my English.
Can you explain that logic inside foreach?