Honeywell interview question

write stack program in c#