C# Increment Operator

amiedd
915 views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

C# Increment Operator

AmieDD www.amiedd.com

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IncrementOperator
{
class Program
{
static void Main(string[] args)
{
int x = 12;
x++;
Console.WriteLine(x);
}
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Amie's In-Game Hint

Increment operator increases a integer's value by 1.

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content