public void B_ClassesCanHaveGettersAndSetters() { // Classes can can have properties with both getters and setters. ClassWithGetSet obj = new ClassWithGetSet(); // This class has a get and set for A, so you can do this: obj.A = 5; Assert.AreEqual(FILL_ME_IN, obj.A); }
public void B_ClassesCanHaveGettersAndSetters() { // Classes can can have properties with both getters and setters. ClassWithGetSet obj = new ClassWithGetSet(); // This class has a get and set for A, so you can do this: obj.A = 5; Assert.Equal(FILL_ME_IN, obj.A); }