Hi,
I have learned about constructor . I want to know that ,can constructor be virtual in c# if yes/no then give a full explaination of that?
Loading
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.
VulpesPosted Oct 18, 2011, 1:37 PM
Consequently, it would make no sense for them to be virtual because this would imply that they could be overridden by a derived class's constructor.
Gomathi PalaniswamyPosted Oct 18, 2011, 1:04 PM