Summary
In this chapter, you explored a major component of software development: I/O. You started by looking at how the .NET Framework class library provides an object-style approach to the Windows file system, covering files and directories. You then moved on to look at how to open files for I/O manipulation. Next, you learned how to perform many different methods of reading, writing, and seeking to not only files, but also memory streams. You finished by looking at a specialized I/O system known as serialization.
Though none of the concepts in this chapter should be new to anyone who has worked with file I/O before, how it is done with the .NET Framework class library is new. And, as you should suspect, I/O manipulation can be accomplished in many different ways.
In the next chapter, you will move away from the humdrum of the console and start playing with one of Windows’s claims to fame: the graphical user interface (GUI).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 Stephen R.G. Fraser
About this chapter
Cite this chapter
(2006). Input, Output, and Serialization. In: Pro Visual C++/CLI and the .NET 2.0 Platform. Apress. https://doi.org/10.1007/978-1-4302-0109-0_8
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0109-0_8
Publisher Name: Apress
Print ISBN: 978-1-59059-640-1
Online ISBN: 978-1-4302-0109-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)