projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2004-06-05 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mono
/
tests
/
delegate6.cs
1
using System;
2
using System.Reflection;
3
4
public class T
5
{
6
public void Test ()
7
{
8
Console.WriteLine ("CreateDelegate success!");
9
}
10
11
public delegate void blah ();
12
13
public static void Main ()
14
{
15
T t = new T();
16
Delegate o = Delegate.CreateDelegate (typeof (T.blah), t, "Test");
17
o.DynamicInvoke (new Object[] {});
18
}
19
}
20
21