Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Search Your Question

Monday, May 5, 2008

How will you make a variable accessible and changeable in several forms in a windows application?

One of the method is this :

Suppose we have an Int variable : we can put this int in any class like this

class ABC
{
public static int MyInt;
}
and then use it like this

ABC.MyInt = 5;

we can also create property set and get for it.

No comments:

Archives