use fo base keyword for a parent class method in derived cls
what is the diff between using a method by BASE keyword and by simple using through inheritance. i think we can achieve the same in inheritance instead of using a base keyword to a method.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SUNIL GUTTAPosted Jan 30, 2014, 6:28 AM
So we use chaining mechanism for communication .. like we pass values to parents constructor using BASE(x,y) like that
Base always refers to Parent .. This contray refers to current class .
Regards
Riyaz AkhtarPosted Jan 30, 2014, 3:34 AM
http://stackoverflow.com/questions/2644316/what-really-is-the-purpose-of-base-keyword-in-c