Csharp/CSharp Tutorial/Class/new

Материал из .Net Framework эксперт
Перейти к: навигация, поиск

Use new with a value type.

The new operator has this general form:


<source lang="csharp">class-var = new class-name( );</source>