#include "stdafx.h"
#using <mscorlib.dll>
using namespace System;
void myFunction(int val1, int val2, String^ val3) {
System::Console::Write("val1 = ");
System::Console::WriteLine(val1);
System::Console::Write("val2 = ");
System::Console::WriteLine(val2);
System::Console::Write("val3 = ");
System::Console::WriteLine(val3);
}
int main(void) {
int value = 25;
System::Console::WriteLine("Hello World");
myFunction(1, 2, "String");
return 0;
}
|