This is possible duplicate. But, I couldn't able to find a prompt solution. Please help me out.

I have library project which has a class called `GetData(ByVal contextId as Integer)` function to get data from database and stores them into shared variable called `Public Shared _ContextData As String`. And, this library project referred by three window applications.

If all my three windows applications run simultaneously and try to get data with different `contextId` from database using the above method in that library.

Is there possible cause to share any one's `contextId` values across application?

I have referred below links already. But, they were telling the solution for web application.

[Link 1](https://stackoverflow.com/questions/6818052/is-a-static-variable-in-a-library-dll-shared-by-all-processes-referencing-that)

[Link 2](https://stackoverflow.com/questions/4899432/does-static-reference-to-httpcontext-current-session-return-same-session-for-all)