Examveda

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

D. Clears the attributes of a specified file or directory

Answer: Option C


Join The Discussion

Related Questions on File Handling and Input Output in C Sharp