c# increment and decrement counter

nikiarora's Avatar, Join Date: Aug 2009
Newbie Member
I want to make increment and decrement counter.
There are two buttons called X and Y. First press X and then press Y counter should increment.
First press Y and then press X counter should decrement.

I am not familiar with c#. So can anyone help me please ??
xpi0t0s's Avatar, Join Date: Aug 2004
Why are you doing this in C# if you're not familiar with C#?
I would suggest you go on a C# course, or read a C# book, before tackling this task; it's not difficult, but explaining this task from the ground up to a new programmer is rather a lot of work.