blob: 0cefda8a68e156f81383f9a9a3814a2011865c2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
public class TestClass
{
delegate void OneDelegate (int i);
public static void Main()
{
OneDelegate d = new OneDelegate (TestMethod);
d.Invoke (1);
}
public static void TestMethod (int i)
{
}
}
|