I need to share a variable anywhere in Form1.cs.
Tried using example, https://social.msdn.microsoft.com/Forums/windows/en-US/536b644b-bc4b-42c4-8ad5-2458553c3cd3/how-to-make-certain-variables-global-to-all-forms-c?forum=winforms, but receive the following error;
CS0122 : 'Variables.ChartArray' is inaccessible due to its protection level
Can you share a variable anywhere in Form1.cs?
If so, how?