谁能为我回答?这是我正在为工作做的练习测试. [英] Can anyone answer this for me? This is a practice test I'm doing for my work.

查看:53
本文介绍了谁能为我回答?这是我正在为工作做的练习测试.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题

您想通知垃圾收集器它应该考虑非托管内存的分配.完成代码以完成此操作.

You want to notify the garbage collector that it should take account of allocation of unmanaged memory. Complete the code to do this.

{

Employee lloyd =新员工("Lloyd);

Employee lloyd = new Employee ("Lloyd);

...

Lloyd = null;

Lloyd = null;


(Int32.MaxValue);

(Int32.MaxValue) ;

...

}

推荐答案

我建议为此阅读MSDN页面.

I would suggest reading MSDN page for this.

https://msdn.microsoft.com/en-us/library/498928w2(v = vs.110).aspx


这篇关于谁能为我回答?这是我正在为工作做的练习测试.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆