Puzzle:集合是否更新?
1 Dictionary<string, MSNSession> m_SessionList= new Dictionary<string, MSNSession>();
2 string contact="upzone";
3 MSNSession session = null;
4 session = m_SessionList[contact];
5 session.LastDateTime=DateTime.Now;
6
2 string contact="upzone";
3 MSNSession session = null;
4 session = m_SessionList[contact];
5 session.LastDateTime=DateTime.Now;
6
请问这时候m_SessionList里的对应session有没有自动更新?
引用类型.