My questions are:
- When should we use value types and when reference types?
- What are the advantages and disadvantages of one over other?
- What if one uses reference types everywhere? Is there any harm in it?
Please also discuss advantages and disadvantages of each one. I want to understand that as well.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…