Object array declaration and initialisation

Jan 10 2006 7:42 AM
 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?

Answers (2)