Answers to Self-Review Exercises

  1. 17.1

    1. True.

    2. True.

    3. False. Class StreamReader inherits from class TextReader.

    4. False. Only classes that implement interface ISerializable or are declared with the Serializable attribute can be serialized.

    5. False. It seeks relative to the SeekOrigin enumeration member that’s passed as one of the arguments.

    6. True.

  2. 17.2

    1. System.Runtime.Serialization.Formatters.Binary.

    2. ReadLine.

    3. WriteLine.

    4. Stream, object.

    5. System.IO.

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

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