4.
What is the correct way to open a file for writing in C#?

8.
What is the purpose of the File.ReadAllLines() method in C#?

Read More Section(File Handling and Input Output in C Sharp)

Each Section contains maximum 100 MCQs question on File Handling and Input Output in C Sharp. To get more questions visit other sections.