Just:
int FooInt = 2;
or, available within the project only:
static int FooInt = 2;
But obviously it would be better to declare as static variables within a
class.
--
David Anton www.tangiblesoftwaresolutions.com
Convert between VB, C#, and C++
Instant C#
Instant VB
Instant C++
C++ to C# Converter
C++ to VB Converter
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.