复制构造函数在c sharp [英] copy constructor in c sharp

查看:92
本文介绍了复制构造函数在c sharp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么c sharp不支持复制构造函数

请用合适的例子解释。我已经看过MSDN但不满意

why c sharp does not support copy constructor
please explain with suitable example .and i have seen MSDN but not satisfied

推荐答案

这不是一个有效的问题。为什么有人应该解释一些不存在的东西?



你应该意识到你有一些你想要实现的目标并且要求关于那个目标。这将是一个正确的问题。你的问题是,你正在考虑一些你想要专注的想法。这是心理活动中的典型障碍之一。



您可能不在,因为Microsoft MSDN专门针对此类案例撰写了这篇MSDN文章:

http://msdn.microsoft.com/en- us / library / ms173116%28v = vs.110%29.aspx [ ^ ]。



正如您所知,您查找了MSDN,改进了搜索技能会对你有所帮助。



祝你好运,

-SA
This is not a valid question. Why anyone should explain something which does not exist?

Instead of asking about non-existing question, you should realize that you have some goal you would wanted to achieve and ask about that goal. That would be a correct question. Your problem is that you are thinking under the pressure of some idea you are preoccupied with. This is one of the typical barriers in mental activity.

You are probably not along, because Microsoft MSDN have written this MSDN article specially for such cases:
http://msdn.microsoft.com/en-us/library/ms173116%28v=vs.110%29.aspx[^].

As you maintain that you looked up MSDN, improving your search skills would help you a lot.

Good luck,
—SA

这篇关于复制构造函数在c sharp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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