26.02.2015 Views

C#.Net Migration - A2Z Dotnet

C#.Net Migration - A2Z Dotnet

C#.Net Migration - A2Z Dotnet

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Derivation and constructor flow of control<br />

D3..ctor()<br />

g()<br />

D2..ctor<br />

e()<br />

D1..ctor<br />

c()<br />

Base..ctor()<br />

a()<br />

b()<br />

d()<br />

public class Base {<br />

public int x = a();<br />

public Base() { b(); }<br />

}<br />

public class D1 : Base {<br />

public int y = c();<br />

public D1() { d(); }<br />

}<br />

public class D2 : D1 {<br />

public int z = e();<br />

public D2() { f(); }<br />

}<br />

public class D3 : D2 {<br />

public int w = g();<br />

public D3() { h(); }<br />

}<br />

f()<br />

h()<br />

35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!