VisualStudio2005->新規プロジェクト->CLRコンソールアプリケーションから。 関数を登録していって呼び出すまで。 ソースは続きを読むから: //Delegateから関数を呼ぶサンプル #include "stdafx.h" using namespace System; //Delegate関数を宣言 //「型の宣言」と同様。引数、戻り値がこのようである関数を登録出来る delegate void DelegateFunction(int); //func1,2は通常の関数 void func1(int n) { Console::WriteLine(L"func1 start------------------------"); Console::WriteLine(L"func1() : n = {0}", n); } void func2(int n) { Cons