Writing Data

As with XmlReader, I’ll start by taking a general look at how data is written in .NET. I’ve already covered input, and output is very similar in that most operations involve the Stream class. After a general introduction to how the writing process works, I’ll show you a quick and simple way of writing text to a file.

Get .NET & XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.