ArrayList: Type casting error with ArrayList Objects
Dear All,
I created one ArrayList
ArrayList^ myAL = gcnew ArrayList;
myAL->Add('#');
myAL->Add("4");
myAL->Add(3);
myAL->Add(1.5);
Finally I want to assign each type of element to String type. But I am getting Type Casting Problem, I have applied many tricks , but most of them are failed
Re: ArrayList: Type casting error with ArrayList Objects
Originally Posted by VictorN
I am sorrx, but you've posted this question in the wrong Forum.
Ask it in Managed C++ and C++/CLI
To add to that...please contact a moderator and ask that the thread be MOVED; do NOT create a new (duplicate) thread.
Thanx!
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!) 2008, 2009 In theory, there is no difference between theory and paractice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Bookmarks