积极答复者
C# 数组 常量 如何有效使用

问题
答案
-
你好:
简单类型的数组GC会进行自动内存回收,所以要使用到常量数组的时候声明一个就行了,如果频繁使用那就定义全局的或者静态的就可以了。
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已标记为答案 CaillenModerator 2015年3月1日 11:53
-
楼主:用Turple类型。
具体参考:https://msdn.microsoft.com/zh-cn/library/system.tuple.aspx
ASP.NET Forum
Other Discussion Forums
FreeRice Donate
Issues to report
Free Tech Books Search and Download- 已标记为答案 CaillenModerator 2015年3月1日 11:53
全部回复
-
你好:
简单类型的数组GC会进行自动内存回收,所以要使用到常量数组的时候声明一个就行了,如果频繁使用那就定义全局的或者静态的就可以了。
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已标记为答案 CaillenModerator 2015年3月1日 11:53
-
楼主:用Turple类型。
具体参考:https://msdn.microsoft.com/zh-cn/library/system.tuple.aspx
ASP.NET Forum
Other Discussion Forums
FreeRice Donate
Issues to report
Free Tech Books Search and Download- 已标记为答案 CaillenModerator 2015年3月1日 11:53