Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/**
* Maps are called Dictionary in .NET
* We are creating a map between
* string -> "camel"
* Func<> -> camelConverter function
*/
Dictionary<string, ConverterFunction> converters =
new Dictionary<string, ConverterFunction>
{
{"lower", lowerConverter},
{"camel", camelConverter}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment