inheritance/constructors-inheritance-2/b.cs - Initializers and constructors of class B. | Lecture 7 - slide 26 : 40 Program 2 |
using System; public class B: A { private int varB1 = Init.InitMe(1, "varB1, initializer in class B"), varB2; public B (){ varB2 = Init.InitMe(4, "VarB2, constructor body B"); } }