I was thinking to use Tuple
class to store 2 integer information (StartAddress, EndAddress) I need in my program.
But I discover that Tuple
items are ReadOnly, so if I need to set a value for an item, I need to re-instantiate a Tuple.
What is the reason behind this design decision?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…