C# File IO MCQs

Question 1: Which of the following static class will you use for file I/O operations?

Question 2: Which of the following class is the base class for all I/O operations from different sources?

Question 3: What does the following code do?

File.WriteAllText(@"C:\DummyFile.txt", "This is dummy text");