linux-packaging-mono/mcs/tests/test-anon-153.cs

30 lines
467 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
namespace TestComp
{
class Program
{
internal class MyClass
{
public delegate void MyDelegate (out List<int> intToAdd);
private void MyTemplate (MyDelegate myData)
{
}
public void UseATemplate ()
{
MyTemplate (
delegate (out List<int> intToAdd) {
intToAdd = new List<int> ();
intToAdd.Add (0);
}
);
}
}
public static void Main (string[] args)
{
}
}
}