Complete
OSNN Addict
- Joined
- 25 Aug 2005
- Messages
- 94
In C Sharp, just like in C++ you can have classes with "methods" and "members" but the syntax is different.
Does anyone know how to declare a varable in a C# class so that it is accessable to other classes and code?
After I have declared a class, I have accessed the methods of the class as it appears in intellisense type as I type the class name and then a dot. But the declared members of the class does not appear.
Does anyone know how to declare a varable in a C# class so that it is accessable to other classes and code?
After I have declared a class, I have accessed the methods of the class as it appears in intellisense type as I type the class name and then a dot. But the declared members of the class does not appear.