当多个线程同时访问数据时,必须同步访问以防止数据完整性问题.局部变量是否需要同步?
c# variables thread-synchronization
c# ×1
thread-synchronization ×1
variables ×1