Skip to content

Instantly share code, notes, and snippets.

@digitalconceptvisuals
Created July 30, 2020 18:25
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