nerdexam
GIAC

GSSP-NET · Question #117

GSSP-NET Question #117: Real Exam Question with Answer & Explanation

Sign in or unlock GSSP-NET to reveal the answer and full explanation for question #117. The question stem and answer options stay visible for context.

Question

Bill works as a Software Developer for SunInfo Inc. He develops an application named SunApplication using C# .NET. The employees of the company use SunApplication for viewing and editing inventory data. SunApplication receives data from a file named MyFile.xml, which currently does not provide any information. Bill decides to write code to get information from the MyFile.xml file. Which of the following code segments will he use to resolve the issue? Each correct answer represents a complete solution. Choose all that apply.

Options

  • AFileInfo FI = new FileInfo(@"c:\temp\MyFile.xml");
  • BFileInfo FI = new FileInfo ("@c:\program files\temp\MyFile.xml"); Console.WriteLine
  • CFileInfo FI = new FileInfo("MyFile.xml");
  • Dstring str=@"c:\windows\MyFile.xml";

Unlock GSSP-NET to see the answer

You've previewed enough free GSSP-NET questions. Unlock GSSP-NET for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full GSSP-NET Practice