Initializers and constructors of class C. | Lecture 7 - slide 26 : 40 Program 1 |
using System; public class C: B { private int varC1 = Init.InitMe(1, "varC1, initializer in class C"), varC2; public C (){ varC2 = Init.InitMe(4, "VarC2, constructor body C"); } } |