最新的Microsoft .NET Fundamentals - 98-372免費考試真題
A class named Student is contained inside a namespace named Contoso.Registration. Another class named Student is contained inside a namespace named Contoso.Contacts.
You need to use both classes within the same code file.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
You need to use both classes within the same code file.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
正確答案: A,C
You create a class that does not explicitly inherit from any base class. Which is the implied base type of the class?
正確答案: C
Which core technology allows interoperability between Microsoft Visual Basic .NET code and C# code?
正確答案: A
You need to force an immediate garbage collection of all unused memory.
Which method should you use?
Which method should you use?
正確答案: B
You want to create a method that can accept any data type as arguments.
Which feature of .NET languages allows you to create one method that will accept different data types on each call to the method?
Which feature of .NET languages allows you to create one method that will accept different data types on each call to the method?
正確答案: D
An event is a/an:
正確答案: A
You create an XML document that has an XmlNode named node1.
Which code fragment will read the XML contained in node1 and its subnodes?
Which code fragment will read the XML contained in node1 and its subnodes?
正確答案: D
Managed code manages:
正確答案: C
You create a program that writes a status message to a file every 10 seconds. You need to ensure that all data is written to the file before the file is closed. When should you call the Flush() method?
正確答案: D