Constructor

Whenever a class or struct is created, its constructor is called. A class or struct may have multiple constructors that take different arguments. Constructors enable the programmer to set default values, limit instantiation, and write code that is flexible and easy to read. Constructor can’t be used on runtime that mean constructor only for Generated Script.

Was this helpful to you?

Leave a Reply

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