Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
GeneralRe: how make a setup for my access database Pin
Dave Kreskowiak28-Apr-13 16:00
mveDave Kreskowiak28-Apr-13 16:00 
GeneralRe: how make a setup for my access database Pin
User349028-Apr-13 16:08
User349028-Apr-13 16:08 
GeneralRe: how make a setup for my access database Pin
Dave Kreskowiak28-Apr-13 18:56
mveDave Kreskowiak28-Apr-13 18:56 
GeneralRe: how make a setup for my access database Pin
Mycroft Holmes28-Apr-13 20:11
professionalMycroft Holmes28-Apr-13 20:11 
AnswerRe: how make a setup for my access database Pin
ManavGuru28-Apr-13 21:14
ManavGuru28-Apr-13 21:14 
AnswerRe: how make a setup for my access database Pin
jschell29-Apr-13 7:57
jschell29-Apr-13 7:57 
QuestionJanus.Windows.GridEX.GridEX Pin
DotNetDev201328-Apr-13 2:23
DotNetDev201328-Apr-13 2:23 
GeneralIncrementing and Decrementing - Just Trying to Understand Pin
N8tiv28-Apr-13 1:10
N8tiv28-Apr-13 1:10 
I get the basic parts of incrementing and decrementing a variable by one.
Maybe because I'm not quite thinking like a programmer yet, is why I don't understand this code below.
"Console.WriteLine(y); // result = 99 — The value of y after" - this is what's confusing me. How do you get 99 when there is no loop?
And
doesn't 100 become 99 before you add it to 10?

Of course after compiling this, it worked. It came from a book from BrainMeasures dot com. They said the book was even for novices (PSSH)
Dummy it down for me quite a bit please. Smile | :) LOL

<pre lang="c#">using System;

class ArithmeticOperators
{
public static void Main()
}
int x = 10;
int y = 100;
int z = y-- + x;
Console.WriteLine(z); // result = 110
Console.WriteLine(y); // result = 99 — The value of y after
// decrementing
z = --z + x;
Console.WriteLine(z); // result = 119
}
}</pre>

<a href="http://www.widmarkrob.com">My Coding Journey</a>
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
NotPolitcallyCorrect28-Apr-13 1:16
NotPolitcallyCorrect28-Apr-13 1:16 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
N8tiv28-Apr-13 1:25
N8tiv28-Apr-13 1:25 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
NotPolitcallyCorrect28-Apr-13 1:29
NotPolitcallyCorrect28-Apr-13 1:29 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
N8tiv28-Apr-13 1:32
N8tiv28-Apr-13 1:32 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
NotPolitcallyCorrect28-Apr-13 1:39
NotPolitcallyCorrect28-Apr-13 1:39 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
N8tiv28-Apr-13 1:51
N8tiv28-Apr-13 1:51 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
NotPolitcallyCorrect28-Apr-13 2:10
NotPolitcallyCorrect28-Apr-13 2:10 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
Dave Kreskowiak28-Apr-13 4:48
mveDave Kreskowiak28-Apr-13 4:48 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
harold aptroot28-Apr-13 1:47
harold aptroot28-Apr-13 1:47 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
N8tiv28-Apr-13 2:00
N8tiv28-Apr-13 2:00 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
harold aptroot28-Apr-13 2:23
harold aptroot28-Apr-13 2:23 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
N8tiv28-Apr-13 2:35
N8tiv28-Apr-13 2:35 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
N8tiv28-Apr-13 3:05
N8tiv28-Apr-13 3:05 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
harold aptroot28-Apr-13 3:33
harold aptroot28-Apr-13 3:33 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
OriginalGriff28-Apr-13 3:44
mveOriginalGriff28-Apr-13 3:44 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
harold aptroot28-Apr-13 3:54
harold aptroot28-Apr-13 3:54 
GeneralRe: Incrementing and Decrementing - Just Trying to Understand Pin
OriginalGriff28-Apr-13 4:15
mveOriginalGriff28-Apr-13 4:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.