Flashcard Details
CSharp
What is the difference between a value type and a reference type?
Value types store actual data, while reference types store a reference to data. Value types are independent, so changes to one don’t affect others. Reference types share memory, so changes to one reference affect all others pointing to the same data.
1
4