I have one doubt on below code snippet. As per my understanding 'this' keyword means current object. When a super constructor is invoked and we print hashcode on this code, why we don't get a hashcode for parent object. On execution I see same hashcode is printed twice. Can anyone explain this behavior to me.
Because you only have one object. You are not creating a superclass object separate from the subclass object.
By the way: parent and child are inaccurate terms for superclass and subclass; the refer to biological inheritance which is different from object inheritance. Maybe the terms they use in C# are the best: base and derived classes.