Checking variable from a different class in C#
<p>Greetings-</p>

<p>I have 2 classes.  One is called "Programs" and the other is called "Logs".  The class called Programs has <code>public const string m_sEnviron = "";</code> near the top and I need to check what the m_sEnviron variable is set to through my class called Logs.  The variable m_sEnviron will get set from a scheduler called Tidal so how can I check its value from a different class.  If this is not the best to do this then please let me know what the better ways are.</p>

<p>Thanks in advance.</p>

<p>Regards,</p>

<pre><code>Namespace NightScripts
{
   class Program
   {

      public static string m_sEnviron {get; set;} 

      static void Main(string[] args)
      {

      }

      //Lots of other functions...

   }

   class Logs
   {
      //I try to get access to m_sEnviron but it will not show after I type Program.
   }
}
</code></pre>
