← BYTES
C#·Starter·Ref: 22.1.13

What is a constructor in C#?

Have a question about this video? Mention reference 22.1.13 when you contact us.

a.A method that destroys an object
b.A special method that initializes a newly created instance
c.A keyword for inheritance
d.A type of loop
A constructor runs automatically when an instance is created (via new), typically used to initialize the object's fields to valid starting values.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES22113#C