I want to use shared variable between two different projects and i want to update that variable each time in c#? I used dll file to share a varible but it didn't worked while updating the variable. please help.
public static class Signals
{
public static bool Admin_Logged_In;
public static bool get_Admin_Flag()
{
return Admin_Logged_In;
}
public static bool get_Busy_Flag()
{
return Back_End_Busy;
}
}
i attached above class in DLL file and refered in two different projects & then try to update value in one project & expecting to get updated value in second project. but it doesn't provide updated value.