Hi guys, I think this is a rather simple question but my brain has just decided to forget everything. So any help would be much appreciated.
I'm using a Windows form project. I have three classes and all I want to do is use a List declared and initialised in my Form1 class throughout the remaining two classes. I want the contents of this list to effect the contents of each one so essentially it is just one list being used passed around.
After trying to use get / set methods and eveything i've just tried declaring it as a public static list:
public static List<string> stageManagementList;
and this works great but I have to keep writing the namespace followed by the varible name each time. Is there any easier way of doing this? Thanks for your time and reading this.