Function Kata "ToDictionary"

Write a function that converts a custom formatted string into a dictionary. The function should have the following signature:

IDictionary ToDictionary(string input);

The following table shows some examples of strings as inputs and the resulting dictionary.

Function Kata ToDictionary - Clean Code Developer Akademie

en_USEnglish