在C#memcpy函数 [英] memcpy function in c#
本文介绍了在C#memcpy函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能重复:
C#的memcpy相当于
什么是的memcpy
函数在C#中的相同呢?
What is the equivalent of the memcpy
function in c#?
推荐答案
前面已经说过这取决于你想要做什么? 所以,你可以考虑其中的一个...查看链接:
As already said it depends what you are trying to do... So you can consider one of these... check the links:
- Array.Copy
- Object.MemberwiseClone
- ICloneable Interface
根据您的需求可能有其他可能的选择......
There may be other possible options based on your needs...
这篇关于在C#memcpy函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文