Initializers and constructors of class A. | Lecture 7 - slide 26 : 40 Program 3 |
using System; public class A { private int varA1 = Init.InitMe(1, "varA1, initializer in class A"), varA2; public A (){ varA2 = Init.InitMe(4, "VarA2, constructor body A"); } } |