Vidyalelo
C# Programming · Q6

File Handling and Input Output in C Sharp

Programming · C# Programming · question 6

Q6

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

A.
To rename a file
B.
To delete a file
C.
To check if a file exists
Answer
D.
To create a new file

Answer: Option C

Solution

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