I have a variable named as [ThreadStatic] , will it shared across 2 app domains?
No. Effectively types in different AppDomains
are completely separate types. The static variables are unrelated to each other, whether or not [ThreadStatic]
is applied.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With