What is a struct used for?

‘Struct’ keyword is used to create a structure . A structure can contain variables, methods, static constructor, parameterized constructor, operators, indexers, events, and property. A structure can not derive/inherit from any structure or class. A structure can implement any number of interfaces.

Sizin İçin Seçtik  Who won 5G auction?

Leave a Reply

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