You'll use increment operator (++) and the decrement operator (--).
Here is an illustration of how to use Incrementing and Decrementing Operators.
number++; // same as number = number + 1; number--; // same as number = number - 1;
using System; class Program// w ww . j a va2 s . c om { static void Main(string[] args) { // Input Console.Write("Enter a number: "); string input = Console.ReadLine(); int number = Convert.ToInt32(input); // Increasing by 1 using INCREMENT OPERATOR number++; // same as number = number + 1; Console.WriteLine("Increased by 1: " + number); // Decreasing by 1 using DECREMENT OPERATOR number--; // same as number = number - 1; Console.WriteLine("Back again: " + number); } }