Quote Originally Posted by nUflAvOrS
Thx stanax,

I ever tried your method, but when everytime i need passing variables i have to create a lot of property.Furthermore, if i create a property inside a class why i cannot used the class public property to store the value when program is running ?

Stanax i rated you ... thanks a lot
Unless it is absolutely needed, I tend not to use public variables because they're considered as bad programming practice... Why is it bad? If you just google for "why are public variables bad?" and you'll get the image