Select from following answers:- Hidden
- Normal
- ReadOnly
- None of these.
- All Above
ReadOnly enum value will be used to set file attribute as ReadOnly which will be applied to any particular file.Once set,no one can modify the file.
For Example:-
File.SetAttributes("file_name_path",FileAttributes.ReadOnly);
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator