IT
IT Tools
Handy online tools for developers
Cheatsheets
Search tools
⌘K
EN
All quizzes
C#
Core
Multiple choice
A.
1 — a struct is a value type, so b = a copies it and a is unaffected
B.
99 — b and a reference the same struct on the heap
C.
0 — assigning to b resets a's fields to their defaults
D.
It throws a NullReferenceException
Submit
Open the cheat sheet
Previous
Next