Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Multiple Choice ( There may be more than 1 correct answer ) Questionld: 9 6 0 2 2 Auto Next Which of the following are
Multiple Choice There may be more than correct answer
Questionld:
Auto Next
Which of the following are correct wrt readonly keyword
A readonly field can be initialized multiple times within the constructors
We can pass readonly field as ref or out parameters in the constructor context
readonly field can be initialized anywhere in the program
If you declare a nonprimitive types reference type as readonly only reference is immutable not the object it contains.
memory is allocated for readonly fields during compile time
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started