Skip to content

Instantly share code, notes, and snippets.

@digitalconceptvisuals
Created July 30, 2020 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save digitalconceptvisuals/65a37c5146bd6e7e5dd5fb70f2961c77 to your computer and use it in GitHub Desktop.
Save digitalconceptvisuals/65a37c5146bd6e7e5dd5fb70f2961c77 to your computer and use it in GitHub Desktop.
/**
* Func, Action and Predicate are generic deleagtes
* Action<int> -> takes one parameter and returns void
* Func<string, int> -> takes one parameter string and returns int
* Predicate<int> -> takes one parameter int and returns bool
*
* using in C# allows us to "typedef" a complex type
*/
using ConverterFunction = System.Func<string[], string>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment