15.12. Summary

In this chapter, you've learned

  • How we approach file I/O in C#, using the FileStream, StreamReader, and StreamWriter classes of the System.IO namespace

  • An approach for parsing tab-delimited ASCII records to initialize an object's state, or a collection of objects, using the String.Split method

  • A means of persisting an object's state in an ASCII file

  • How to prepare a "test scaffold" Main method for testing isolated classes

  • How proper encapsulation streamlines client code (for example, the SRS Main method)

We're also getting quite an opportunity to apply the C# language skills that we covered in earlier chapters. We encourage you to work with the SRS code and to attempt some of the exercises that follow, to reinforce your learning experience.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset