// MathMin.cpp : メイン プロジェクト ファイルです。 #include "stdafx.h" using namespace System; int main(array ^args) { // 2 つの数値のうち小さい方の数値を取得する int iMin = System::Math::Min(12, 13); // 取得した数値を表示する Console::WriteLine(iMin); //12 return 0; }