// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
#using <mscorlib.dll>

using namespace System;

#using <Demo.dll>

int main()
{
    array<int>^ ia = gcnew array<int>(10);
    for(int i = 0; i < ia->Length; i++) ia[i] = i + 1;
    Demo^ d = gcnew Demo(); 
    array<int>^ res = d->Fun(ia);
    for(int i = 0; i < res->Length; i++) Console::WriteLine(res[i]);
    return 0;
}
