How many constructors can a class have C#?

Within a class, you can create only one static constructor . A constructor doesn’t have any return type, not even void.

Sizin İçin Seçtik  What are the types of constructor in C#?

Leave a Reply

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