What does it mean "+=".
I have a code here:
static void Main(string[] args)
{
int[] n = { 1, 2, 2 };
int sum = 0;
foreach (int a in n)
{
int b = a * a;
sum += b;
}
Console.WriteLine(sum);
}
And there is "sum += b;" and I have no idea what does this symbol means...