using System;
public class Program
{
public static void Main()
var text = "123";
Delegate x = new Action(() => Console.WriteLine("hi"));
x.DynamicInvoke();
Delegate y = new Action<string>((t) => Console.WriteLine(t));
y.DynamicInvoke(text);
}