Basic understanding of coding C# [on hold]
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm in the beginning stages of my coding career and need some help understanding counters.
I know that X++ is add 1 to the value of x.
But now I'm a bit confused as I have come accross ++X.
Is this also add 1 to the value of x?
I have searched google to provide some understanding into this, but no luck.
I would appreciate any input or direction that you are able to steer me to.
Thanks.
c#
New contributor
put on hold as off-topic by Florian Diesch, steeldriver, Charles Green, N0rbert, Terrance yesterday
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Florian Diesch, steeldriver, Charles Green, N0rbert, Terrance
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
I'm in the beginning stages of my coding career and need some help understanding counters.
I know that X++ is add 1 to the value of x.
But now I'm a bit confused as I have come accross ++X.
Is this also add 1 to the value of x?
I have searched google to provide some understanding into this, but no luck.
I would appreciate any input or direction that you are able to steer me to.
Thanks.
c#
New contributor
put on hold as off-topic by Florian Diesch, steeldriver, Charles Green, N0rbert, Terrance yesterday
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Florian Diesch, steeldriver, Charles Green, N0rbert, Terrance
If this question can be reworded to fit the rules in the help center, please edit the question.
2
See for example How do Prefix (++x) and Postfix (x++) operations work?
– steeldriver
yesterday
add a comment |
I'm in the beginning stages of my coding career and need some help understanding counters.
I know that X++ is add 1 to the value of x.
But now I'm a bit confused as I have come accross ++X.
Is this also add 1 to the value of x?
I have searched google to provide some understanding into this, but no luck.
I would appreciate any input or direction that you are able to steer me to.
Thanks.
c#
New contributor
I'm in the beginning stages of my coding career and need some help understanding counters.
I know that X++ is add 1 to the value of x.
But now I'm a bit confused as I have come accross ++X.
Is this also add 1 to the value of x?
I have searched google to provide some understanding into this, but no luck.
I would appreciate any input or direction that you are able to steer me to.
Thanks.
c#
c#
New contributor
New contributor
New contributor
asked yesterday
Justin JustiZo ManuelJustin JustiZo Manuel
1
1
New contributor
New contributor
put on hold as off-topic by Florian Diesch, steeldriver, Charles Green, N0rbert, Terrance yesterday
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Florian Diesch, steeldriver, Charles Green, N0rbert, Terrance
If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as off-topic by Florian Diesch, steeldriver, Charles Green, N0rbert, Terrance yesterday
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Florian Diesch, steeldriver, Charles Green, N0rbert, Terrance
If this question can be reworded to fit the rules in the help center, please edit the question.
2
See for example How do Prefix (++x) and Postfix (x++) operations work?
– steeldriver
yesterday
add a comment |
2
See for example How do Prefix (++x) and Postfix (x++) operations work?
– steeldriver
yesterday
2
2
See for example How do Prefix (++x) and Postfix (x++) operations work?
– steeldriver
yesterday
See for example How do Prefix (++x) and Postfix (x++) operations work?
– steeldriver
yesterday
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
2
See for example How do Prefix (++x) and Postfix (x++) operations work?
– steeldriver
yesterday