Hi guys,
I'm really stuck on this. I am not completely familiar with getters and setters so I am having great trouble with this.
Firstly, I am using a windows form application and I have initialised a list within the 'Form1' class. I want to be able to use that list throughout the whole project- so access the contents of the list in my other 3 classes. I've tried making the list Public and I've also tried writing a get / set method, which is shown below- but it still does not work. Any help with this would be greatly appreciated. Thank you
public List<string> StageManagementList
{
get
{
return stageManagementList;
}
set
{
stageManagementList = value;
}
}