Current .Net Version: 2.0.50727
Home
Articles
C# & .Net Framework Reference
Practice C# Online
XML Web Services
RSS Feeds
Code Snippets
T-SQL Scripts
Videos
Valuable Links
Contact Us
Mike's C#, VS.NET and SQL Blog




ROR XML Info.
C# & .Net Framework Reference
new Constraint (C#)

Full Name:
new

Short Name:
new

Type of Entity:
C#

Abstract:
The new constraint specifies that any type argument in a generic class declaration must have a public parameterless constructor. Apply this constraint to a type parameter when your generic class creates new instances of the type, as shown in the following example:

MSDN Source URL:
http://msdn2.microsoft.com/sd2w2ew5.aspx

 
COPYRIGHT/DISCLAIMER | CONTACT US