How to share the static variable across the application instances?
-
I am writing a static class with four static members using C#.NET. This class is being used in the application. I want to make this class common for diffrent instances of the application. Static class instances must not be created seperately for each instance of the application. Application(Asp.Net) variables cannot be used here as it is Windows Application. Thanks, Nagaraj
-
I am writing a static class with four static members using C#.NET. This class is being used in the application. I want to make this class common for diffrent instances of the application. Static class instances must not be created seperately for each instance of the application. Application(Asp.Net) variables cannot be used here as it is Windows Application. Thanks, Nagaraj
-
Giorgi Dalakishvili #region signature My Articles / My Latest Article[^] / My blog[^] #endregion
-
I am writing a static class with four static members using C#.NET. This class is being used in the application. I want to make this class common for diffrent instances of the application. Static class instances must not be created seperately for each instance of the application. Application(Asp.Net) variables cannot be used here as it is Windows Application. Thanks, Nagaraj
You can use IPC[^] for exchanging data between process. .Net Framework includes classes for IPC.
Giorgi Dalakishvili #region signature My Articles / My Latest Article[^] / My blog[^] #endregion