Greetings,

I want to know if I am having a shared .exe file and these shared .exe is running by 2 users on different machines but they are running the application from the shared place and there were a class which has a static property are there will be a collision in the value of that static attribute if for example the first user inserted the value 1 and the second user inserted the value 2?

Recommended Answers

All 3 Replies

As far as I am aware, each exe has it's own instance (process) and no such collision would occur.

Yep Suzie is spot on. I assume by shared place you mean a network share? If so the app doesn't run there, that's just where the file is. The app runs in memory on the users pc.

Thanks for help. I discovered this through actual experience. I've had a doubt about it, but I wanted to make sure :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.