Public Class Stack {t count;
Public void setValue (t item) {count = item;} public t getValue () {return count;}}
Private void button1_click (Object sender, eventargs e) {stack cc = new stack (); cc.setValue (1); messagebox.show (cc.getValue (). Tostring ());}