多项选择题

A.定义的现有的类,以便使它从WeakReference类继承。
B.定义的现有的类,以便它适用IDisposable接口。
C.创建新的类析构函数,其他释放托管的资源的对象上调用方法。
D.创建新类析构函数释放非托管的资源。
E.创建一种新的处理方法调用System GC Collect,强制进行垃圾回收。
F.创建一个新的处理方法,释放非托管的资源,并还呼吁释放托管的资源的其他对象方法,其中。

相关考题

单项选择题 You create a class library that contains the class hierarchy defined in the following code segment. (Line numbers are included for reference only.) You create an instance of the Group class. You populate the fields of the instance. When you attempt to serialize the instance by using the Serialize method of the XmlSerializer class, you receive InvalidOperationException. You also receive the following error message: "There was an error generating the XML document."You need to modify the code segment so that you can successfully serialize instances of the Group class by using the XmlSerializer class. You also need to ensure that the XML output contains an element for all public fields in the class hierarchy. What should you do?()

单项选择题 为应用程序开发人员上班 Certkiller。 com。若要获取一个名为 myMethod 的特定方法的信息,您可以使用反射。 您需要找出是否可以从派生类访问 myMethod。 您应该从 myMethod 类调用以下属性的?()

单项选择题 为应用程序开发人员上班 Certkiller.com,Certkiller.com 使用 Visual Studio.NET 2005 作为其应用程序开发平台。 您使用名为 Certkiller 的 Windwos XP 专业版客户端计算机-WS554 为您的开发计算机。 您正在开发。NET Framework 2.0 应用程序上的 Certkiller-WS554。 应用程序将在全球范围内使用,并必须能够代表以下列语言的字符: 英文、 中文繁体、 希伯来语和泰米尔语。 您的应用程序需要提供错误检测无效序列的字符,但您的应用程序也必须优化存储。 你应该做什么?()