Hi,
This is my very first C# program. Previously, I programmed in VB.NET. In VB.NET, I added a module to my project, and declared my Global variables there, like this:
Module Variables
Public Response As String = "Hello World"
End Module
Now, however, I see C# does not use Modules. How would I delcare my variables in C#, so that
they can be used in any of my forms?
Would I use a Class for this? Can somebody please give me a little walkthru on using a Global Variable?
Thanks!
ssteeves
Start Free Trial