Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-481.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 68d5a113974c194ae4566fec59c9e76e56377ae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
        }
}