Closed dazinator closed 5 years ago
I'm terribly sorry, README.md has incorrect information. The actual output of the code:
Initial run
Prop1: 1
Prop1: 1
Setting Prop1 = 2
Prop1: 2
Prop1: 2
Setting Prop2 = 2
Setting Prop1 = 3
Prop1: 3
Prop1: 3 Prop2: 2
Setting Prop2 = 3
Prop1: 3
Prop1: 3 Prop2: 3
Updated readme to make it more clear what is happening and why.
Ok cool that makes sense, cheers
I'm a bit confused by this sample on the readme - well I think there is a mistake possibly?
After reading this, and coming from a knockoutjs background, I was expecting the output to be
If you remove the very first Console.WriteLine() before the
if
statement, then I think i'd agree with you regarding the console output.. am I missing something?