GIAC
GSSP-NET · Question #278
Allen works as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. He develops an application that manipulates files containing…
The correct answer is B. FileInfo class. See the full explanation below for the reasoning.
Question
Allen works as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. He develops an application that manipulates files containing confidential information. He wants to make a copy of the existing file, named ConfidentInfo1 to a new file, named ConfidentInfo2 in the local drive by using an instance method. However, Allen wants to ensure that the existing file does not overwrite the new file. Which of the following classes' instance method will Allen consider in the application to accomplish the task?
Options
- AStringWriter class
- BFileInfo class
- CBinaryWriter class
- DDirectoryInfo class
How the community answered
(61 responses)- A13% (8)
- B75% (46)
- C8% (5)
- D3% (2)
Community Discussion
No community discussion yet for this question.