Vidyalelo
C# Programming · Q23

File Handling and Input Output in C Sharp

Programming · C# Programming · question 23

Q23

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

A.
Retrieves the attributes of a specified file or directory
B.
Deletes the attributes of a specified file or directory
C.
Sets the attributes of a specified file or directory
Answer
D.
Clears the attributes of a specified file or directory

Answer: Option C

Solution

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