Vidyalelo
C# Programming · Q2

File Handling and Input Output in C Sharp

Programming · C# Programming · question 2

Q2

What is the purpose of the using statement when working with files in C#?

A.
To read data from files
B.
To write data to files
C.
To ensure proper disposal of resources
Answer
D.
To handle exceptions

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board