In using .NET asynchronous delegates for the first time, I was surprised to empirically discover that when changing an instance member value (e.g. an int) in the asynch method (running in the new thread), the value of the instance member running in the original thread was also changed.
I thought that when a new thread is created, instance member values are copied from the original thread, but then isolated from the original.
Could someone help me to better understand what's going on under the covers? In my research, most books/articles speak of static variables, but not instance variables. Thanks!