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) }
See this tutorial for C# arrays
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.