What is wrong with this?


Public struct StructType  {

            Public Int mem1;

            Public int mem2;

}



... after adding several elements of type STructType to an arraylist...







return arList.ToArray( typeof(StructType) )



why doesn't this compile to properly return a StructType[] ?



Reggie

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to