title: C# how do i access a variable in another class?
body: <p>This gets me the name of the class (&quot;SolarPanel&quot;) but I want to get the value of the variable called &quot;Name&quot; (the one on line 30)</p>
  <p><img src="https://i.stack.imgur.com/DlZkY.png" alt="image" /></p>