Matthias

Matthias

  • NA
  • 24
  • 6.9k

classes with internal variable-definitions

Dec 12 2015 10:17 AM
I found many examples with confusing class-definitions:
variable-declaration and direct assignment, but no standard-constructor.
Are constructors needles or is this a renewal in C#6? 
 Example: class Table { public int[] number = new number[10];}

Answers (2)