I'm going to try to explain this as best I can. I'm working on an application that needs to get data from another program. I have them all in the same solution I believe, I have the application referencing the .dll that has the variable i want in it. the code is kinda set up like this
the .cs file that has the varible i want is set up like this
public class myObserverClass
{
//then there is a bunch of functions and the variable i need is in one like this
static void functionWithMyVariable(ref something, int toTier){
string myVariable = some value;
}
}
In my main application i need myVariable but i'm not sure how to access it. I have it using the namespace of the second program.