C# Global Variable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bsg92056
    New Member
    • Aug 2006
    • 1

    C# Global Variable

    Hi i am new to C# i need to create a variable that can be assigned a value and be visiable throughout my whole project can you please direct me in the right direction. thanks
  • godsent
    New Member
    • Aug 2006
    • 33

    #2
    declare the variable before ur main

    Comment

    • nmsreddi
      Contributor
      • Jul 2006
      • 366

      #3
      hi

      just declare it as public so that u can access from any where in your project

      Comment

      Working...