[Solved] C# help declaring variable i initialize it to


Yes, the output is correct:

// This line increments the variable then prints its value.
Console.WriteLine("{0}", ++ Cash);
// This prints the value of the (incremented variable)
Console.WriteLine("{0}", Cash);
// The prints the value of the variable *then* increments its value
Console.WriteLine("{0}", Cash ++);

1

solved C# help declaring variable i initialize it to