hello
I need to pass an array of the object com.phone.www.info in a function so I'm trying to create an instance of this object like this:
com.phone.www.Info[] inf = new com.phone.www.Info() ;
I get this error message:
Error 1 Cannot implicitly convert type 'PBX_Admin_Console.com.innovaphone.www.Info' to 'PBX_Admin_Console.com.phone.www.Info[]' C:\Documents and Settings\xavier\My Documents\Visual Studio 2005\Projects\PBX_Admin_Console\PBX_Admin_Console\Form1.cs 29 42 PBX_Admin_Console
Does somebody have an idea about what I did wrong?
Object array declaration and initialisation
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
AnttiRank #9,295 · 208 pointsPosted Jan 10, 2006, 4:23 AM EST
You cannot convert from object to object array. Thats very clear. This is the way you create object array:
1 short reply
akaii de Shangaii9 pointsPosted Jan 10, 2006, 4:34 AM EST