PDA

View Full Version : Ambiguous Coding Question...


Uleat
04-26-2012, 11:50 PM
I'm working to develop a front end for EQEMu and am trying to figure out a few things before I get too far into it...

The one question that I have is this:

suppose I have x = new class,

x is then populated with various information..

If I want to save this information, is there a way to just 'save x' or do I have to code to save the entirety of information everytime x is disposed?

I can create a custom class with read/write functions, but wasn't sure if .net offered a solution that I haven't run across yet.

Thanks!

lerxst2112
04-27-2012, 12:53 AM
What you're talking about is called serialization. For C# there's more info here: http://msdn.microsoft.com/en-us/library/7ay27kt9%28v=vs.71%29.aspx

Uleat
04-27-2012, 02:12 AM
That's exactly what I'm looking for..Thanks Lerxst!!