Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
