What will be result of the following C# program
Sourabh Somani
using System;public class X{ public static void Main() { int i=0; i=i++ + i++; i++; ++i; Console.WriteLine(i); }}
using System;
public class X
{
public static void Main()
int i=0;
i=i++ + i++;
i++;
++i;
Console.WriteLine(i);
}
Also explain how you solved?
3