Any way to save custom classs to a file?

I THINK I saw this somewhere.
I have a Custom Class and I'd like to be able to save that to a file and then read it back later.
I think I may need to impelment the "serialize" interface or something like that, but can't find any info on that for custom controls.
Any tips or pointers