sharing variables between running applications in C#
问题 I am developing in C# two simple applications, running in the same local machine without network requirements. The first application initializes an DLL (Class1) and set a variable. The second application just read it the data which was previously stored. Both applications instanciates the same Class1. Code: DLL (Class1): public class Class1 { private string variableName; public string MyProperty { get { return variableName; } set { variableName = value; } } } Application A: class Program {