Can we override constructor in C#?

No, you can’t override constructors . The concept makes no sense in C#, because constructors simply aren’t invoked polymorphically. You always state which class you’re trying to construct, and the arguments to the constructor.

Sizin İçin Seçtik  Yemek yapmak hobi sayılır mı?

Leave a Reply

Your email address will not be published. Required fields are marked *

Can we override constructor in C#?

No, you can’t override constructors . The concept makes no sense in C#, because constructors simply aren’t invoked polymorphically. You always state which class you’re trying to construct, and the arguments to the constructor.

Sizin İçin Seçtik  Royal Academy bale sertifikası ne ise yarar?

Leave a Reply

Your email address will not be published. Required fields are marked *