Hi all,

I just need the array type of Person object. So it will be an array object.
Please some help.

void SomeOtherFunction() 
{
MyDataType ^Person = gcnew MyDataType(); // simple Person object  (C++/CLI)
}

Thanks .

void SomeOtherFnc() 
{
array<MyDataType^> ^DataObject = gcnew array<MyDataType^>(10);
DataObject[1] = gcnew MyDataType;
DataObject[1]->id = 2012;
textBox1->AppendText((Convert::ToString(DataObject[1]->id )));
}

PS.Actually its not that tutorial.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.