Some guy asked me this question couple of months ago and I couldn't explain it in detail. What is the difference between a reference type and a value type in C#?
I know that value types are int
, bool
, float
, etc and reference types are delegate
, interface
, etc. Or is this wrong, too?
Can you explain it to me in a professional way?