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

[ad_1]

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

[ad_2]

solved C# help declaring variable i initialize it to