I'd like to declare an int variable i, initialize it to 4 and then test the following increment and decrement statements. Comment on the obtained output.
Here is the incomplete code that I made:
    class Program
    {
        static void Main(string[] args)
        {
            int Cash;
            Cash = 10;
            Console.WriteLine("{0}", ++ Cash);
            Console.WriteLine("{0}", Cash);
            Console.WriteLine("{0}", Cash ++);
        }
    }
It gives me
11, 11 11
from the output. I'm not sure If I did it correct. Can someone please correct me if I'm wrong?
 
     
     
     
     
     
     
     
     
    