首页 > Windows开发 > 详细

new (C# Reference)

时间:2016-03-15 09:43:25      阅读:242      评论:0      收藏:0      [点我收藏+]

https://msdn.microsoft.com/en-us/library/51y09td4.aspx

In C#, the new keyword can be used as an operator, a modifier, or a constraint.

new Operator

Used to create objects and invoke constructors.

new Modifier

Used to hide an inherited member from a base class member.

new Constraint

Used to restrict types that might be used as arguments for a type parameter in a generic declaration.

 

new (C# Reference)

原文:http://www.cnblogs.com/chucklu/p/5278094.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!