L. P. with Microsoft C# - Level 4-Quiz-3
- All the class types used to manipulate and manage data are found at System.IO.
- To serialize an object means Store it as bytes.
- The advantage of serializing an object is Easier transmission.
- Which of the following is an additional function to IO in C#?
Buffering.
- Directory and DirectoryInfo are two classes designed to work with directories.
- The Directory class is made up of only static methods.
- The following are methods of the Directory class
- Delete()
- Exists()
- Move()
- The GetDirectories() method Return a set of directories.
- The ArgumentException means The argument is invalid due to invalid characters when dealing with the CreateDirectory() method.
- Use the Create() method of DirectoryInfo is an alternative to using the CreateDirectory() method of the Directory class.
- The .NET framework provides two classes for manipulating and working with files. They conceptually function very similar to creating directories.
- Why is the stream class never directly instantiated?
It is abstract.
- The advantage of using a Reader or Writer is You can stream with data types other than bytes.
- What do Readers and Writers need to send data across the network?
A stream to establish a backing store.
- Working with Network IO is conceptually very similar to working with File IO.
- A client and a server are two processes needed for Network IO to communicate.
- Serialization is The persistence of an object to a series of bytes.
- Serializable attribute must be set to serialize an object.
Permalink |
Comments (0) | Hits: 1124 | Time: 18:48:54