Search code examples
.netmemory-model

.NET memory model, multiple instances of the same program running simultaneously


How does the .NET CLR handle multiple instances of the same program running simultaneously?

I make the assumption that each instance is independent and occupies it's own unique memory-space and one instance can't affect another instance.

Is there a good resource on-line that (briefly!) explains how the CLR handle this and the implications?


Solution

  • Multiple instances of the same app are no different than multiple instances of different apps, except that they happen to have loaded their code from the same file(s).