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  What is use of === in Swift?

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  BTK şikayet ne zaman cevap gelir?

Leave a Reply

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