Multiple choice technology web technology

STRUCTS CAN HAVE CONSTRUCTORS

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

C# structs can indeed have constructors, but they cannot have parameterless constructors (a default parameterless constructor is always implicitly provided). Parameterized constructors are allowed and commonly used to initialize struct fields with specific values.