a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
222 B
C#
17 lines
222 B
C#
public class Foo {
|
|
delegate Inner foo_fn(string s);
|
|
public static void Main()
|
|
{
|
|
foo_fn f = delegate (string s) {
|
|
return new Inner(s + s);
|
|
};
|
|
f ("Test");
|
|
}
|
|
|
|
class Inner
|
|
{
|
|
public Inner (string s)
|
|
{ }
|
|
}
|
|
}
|