What is this () after constructor C#?

When used in after a constructor, it invokes another constructor in the same class first – in this specific situation the parameterless constructor. This can be used to initialize other various parts of an object instance as they are invoked first.

Sizin İçin Seçtik  Constructor Nedir Medium?

Leave a Reply

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