Domanda di colloquio di Cognizant

What is difference between value types and reference types in c#?

Risposta di colloquio

Anonimo

22 set 2025

In C#, value types store data directly in memory, while reference types store a reference (address) to the actual data.