Hi again.
Can you help me (or just kick) with the use of global variable in VS code.
I am aware of static class of static variables
What I would like to use variable instantiated for every method in class. Again, I am new to C#, so maybe it is trivial and maybe it is not possible (with standards procedures. Because everything is possible ):
So I learned from VS error list I cannot do this
because> An object reference is required for the non-static field, method, or property 'SubscribeDataChange.client'
So I go this way:
Is it possible to have client instantiated for whole class?
Can you help me (or just kick) with the use of global variable in VS code.
I am aware of static class of static variables
What I would like to use variable instantiated for every method in class. Again, I am new to C#, so maybe it is trivial and maybe it is not possible (with standards procedures. Because everything is possible ):
So I learned from VS error list I cannot do this
because> An object reference is required for the non-static field, method, or property 'SubscribeDataChange.client'
So I go this way:
Is it possible to have client instantiated for whole class?