a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
14 lines
279 B
C#
14 lines
279 B
C#
using System;
|
|
|
|
public class DelegateInit {
|
|
public delegate void FooDelegate();
|
|
|
|
public static readonly FooDelegate _print =
|
|
delegate() {
|
|
Console.WriteLine("delegate!");
|
|
};
|
|
|
|
public static void Main(string[] args) {
|
|
_print();
|
|
}
|
|
} |