C-Sharp File Operations Interview Questions - 1
Question: 1
What is called stream in c#?
A Stream in C# is a path along which the data flows.
It has data Source and a data sink.
The Stream concept helps in building complex file processing operations.
The Stream class is the parent class of all file processing operations and it is an abstract class.
Question: 2
Give the two categories of file operations?
In C#, the operations on files can be classified under the following two categories:
File management operations of files and directories.
Stream oriented operations of files.
Question: 3
What is called binary reader and binary writer class?
A binary reader is a wrapper around a byte stream that handles the reading of binary data.
A binary writer is a wrapper around a byte stream that manages the writing of binary data.
Question: 4
Give the members of file mode enumerators?
Append,
Create,
Create New,
Open,
Open Or Create
Truncate
Question: 5
Which namespace is used to perform the I/O operations in C#?
system.io namespace
7000+ Abbreviations Quiz Pdf More
7000+ Computer Abbreviations MCQ with Answers More
7000+ Degrees of Comparison Questions for Class 10 More
TNPSC Degrees of Comparison Exercises for Class 10 with Answers More
7000+ Articles MCQ Questions and Answers More
Biology Quiz Questions and Answers for Class 5, 6, 7, 8, 9, 10, 11, 12 More
Mechanics and Properties of Matter in Physics for TNPSC Pdf More
Core Java Interview Questions and Answers for Freshers More
1000+ Mass Transfer Objective Type Questions and Answers More
7000+ Computer Awareness Questions for IBPS PO Mains More