|
-
Jun 8th, 2006, 02:32 AM
#1
Thread Starter
Not NoteMe
[2.0] One function for saving a class to a file
I would like to have a function could write to a file any class instance that was passed to it.
I read up on seralization, but found that it doesn't work with generics.
Is there any functions/classes in the standard .net library or will I need to write my own stuff.
I'm thinking a recursive function that enumerates fields/methods of a class and records the values for those in an XML-like file.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|