码迷,mamicode.com
首页 > Windows程序 > 详细

new (C# Reference)

时间:2016-03-15 09:46:20      阅读:254      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!