mrxafiar
09-15-2008, 04:40 PM
Hello! I recently started studing C# and now I got this lil homework to hand in.
I have to save the contacts of an agenda I created in a file (.txt, .dat w/e). So my problem is, I dunno how to do it!
I made a struct of Contacts which can save the name of the contact, its phone, email. When I try to use the writer.WriteLine(contact); it saves the namespace.class.variabletype, but i need to save the VALUE not its direction.
Can anyone help me, please?
I have to save the contacts of an agenda I created in a file (.txt, .dat w/e). So my problem is, I dunno how to do it!
I made a struct of Contacts which can save the name of the contact, its phone, email. When I try to use the writer.WriteLine(contact); it saves the namespace.class.variabletype, but i need to save the VALUE not its direction.
Can anyone help me, please?