tags:

views:

46

answers:

1

Consider a process, in which multiple Application domains are created. Can we share a single static field across these Application domains or can we pass this static field across these application domains? How does CLR handle this?

+1  A: 

C++/CLI can do this, using __declspec(process) vs __declspec(appdomain). I'm not sure exactly how it records that in the metadata or whether that's an attribute to do that in other languages.

Ben Voigt