nerdexam
GIAC

GSSP-NET · Question #133

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

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

Question

John works as a Software Developer for InfoTech Inc. He develops an application named SerializeObj. He creates a custom class and wants to serialize its object. He also wants the object to be stored into an XML file named File1.xml. He writes the following code: public class Employees GIAC GSSP-.NET Exam { public string EmpID; public string EmpName; public decimal Salary; } Which of the following code statements will John add in the application?

Options

  • AXmlSerializer ObjectSerializer = new XmlSerializer(typeof(Employees), ObjectTypes);
  • BXmlSerializer ObjectSerializer = new XmlSerializer(typeof(Employees));
  • CXmlSerializer ObjectSerializer = new XmlSerializer(Employees);
  • DXmlSerializer ObjectSerializer = new XmlSerializer();

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