a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
308 B
C#
15 lines
308 B
C#
using System;
|
|
public delegate void TestDelegate (out int a);
|
|
|
|
public static class TestClass {
|
|
public static int Main() {
|
|
TestDelegate out_delegate = delegate (out int a) {
|
|
a = 0;
|
|
};
|
|
|
|
int x = 5;
|
|
out_delegate (out x);
|
|
return x;
|
|
}
|
|
}
|