Increment ++ and Decrement -- Operator as Prefix and Postfix
In this article we will explain Increment ++ and Decrement -- Operator as Prefix and Postfix
Here number1 is variable. number1++ and ++number1 (postfix and prefix)
number1++ : first assign then increment
Example
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
...