11. What is the purpose of the File.Copy() method in C#?
12. In C#, which method is used to determine the size of a file in bytes?
13. What is the correct way to close a file after reading or writing in C#?
14. In C#, which method is used to create a new directory?
15. What is the purpose of the File.Move() method in C#?
16. In C#, which class provides methods for creating, copying, deleting, and moving directories and subdirectories?
17. What does the File.AppendText() method do in C#?
18. Which method is used to read a single character from a text file in C#?
19. What is the purpose of the File.ReadAllBytes() method in C#?
20. Which of the following methods is used to determine whether the specified file exists 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.