Custom Class to Object Array and Back
Posted on 2006-06-20
Here is my scenario:
I have an Object that has been created from some custom classes. I want to cast the Object to an array that is the type of the custom class. I've tried this and recieve a cast exception.
MyClass stuff = (MyClass)TheObjects;
I implement the Serializable interface on my custom class as I've seen that mentioned in similar questions. Any suggestions?