Shorthand operator in C#
It's very simple to use shorthand for example if you want to use the + operator you just place the plus sign before the equal, and same applies for all other operators.Example
using System;
public class Program
{
public static void Main()
{
int x = 10;
x += 10;
Console.WriteLine(x);
}
}
Output
20