C# and XML
-
I'm learning C# and have been given an assignment with a flexible requirement of reading / writing to a file. I'm thinking of trying XML as a possible format for saving and retrieving data. I've tried googling this but a couple of the sites I've gone too look complicated (perhaps it's complicated because I don't know how to relate XML with C# ?) Can anyone suggest a basic tutorials / website that a newbie like myself can reference for the purpose of writing and reading an xml file? Thanks in advance.
-
I'm learning C# and have been given an assignment with a flexible requirement of reading / writing to a file. I'm thinking of trying XML as a possible format for saving and retrieving data. I've tried googling this but a couple of the sites I've gone too look complicated (perhaps it's complicated because I don't know how to relate XML with C# ?) Can anyone suggest a basic tutorials / website that a newbie like myself can reference for the purpose of writing and reading an xml file? Thanks in advance.
The obvious place to start is by reading the Framework documentation for the XML-related classes on MSDN. It's pretty dry stuff, but there will be small samples to get you going. I would also recommend TopXML[^]. I've found this site useful in the past when I've wanted to learn how to do something with XML in .NET.
Paul Marfleet
-
I'm learning C# and have been given an assignment with a flexible requirement of reading / writing to a file. I'm thinking of trying XML as a possible format for saving and retrieving data. I've tried googling this but a couple of the sites I've gone too look complicated (perhaps it's complicated because I don't know how to relate XML with C# ?) Can anyone suggest a basic tutorials / website that a newbie like myself can reference for the purpose of writing and reading an xml file? Thanks in advance.
This site has many good articles and chapters from books that are very helpful....thats how I learned. Just put XML in search box and go with it. Good luck Mike
Life is not measured by the number of breaths we take, but by the moments that take our breath away. "George Carlin"
-
I'm learning C# and have been given an assignment with a flexible requirement of reading / writing to a file. I'm thinking of trying XML as a possible format for saving and retrieving data. I've tried googling this but a couple of the sites I've gone too look complicated (perhaps it's complicated because I don't know how to relate XML with C# ?) Can anyone suggest a basic tutorials / website that a newbie like myself can reference for the purpose of writing and reading an xml file? Thanks in advance.
System.IO.FileStream If it is an assignment this class will cover all of your bases the quickest.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway -
I'm learning C# and have been given an assignment with a flexible requirement of reading / writing to a file. I'm thinking of trying XML as a possible format for saving and retrieving data. I've tried googling this but a couple of the sites I've gone too look complicated (perhaps it's complicated because I don't know how to relate XML with C# ?) Can anyone suggest a basic tutorials / website that a newbie like myself can reference for the purpose of writing and reading an xml file? Thanks in advance.
-
I'm learning C# and have been given an assignment with a flexible requirement of reading / writing to a file. I'm thinking of trying XML as a possible format for saving and retrieving data. I've tried googling this but a couple of the sites I've gone too look complicated (perhaps it's complicated because I don't know how to relate XML with C# ?) Can anyone suggest a basic tutorials / website that a newbie like myself can reference for the purpose of writing and reading an xml file? Thanks in advance.