using System.Collections.Generic;
public static void Main() {
Func<int, string> convertIntToString = delegate (int i) {
Func<string, int> convertStringToInt = delegate (string s) {
List<Delegate> delegates = new List<Delegate>();
delegates.Add(convertIntToString);
delegates.Add(convertStringToInt);
object[] parameters = new object[1];
var res = f.DynamicInvoke(parameters);