how to add to numbers in c#.net

Rashakil Fol commented: ah, you've proven there IS such thing as a dumb question. -2

Recommended Answers

All 3 Replies

int i1 = 5;
int i2 = 7;
int i3 = i1 + i2;

If you know c++, you know a lot of c#.

commented: can we say "non sequitor"? -2

Did you have further questions? It seems as though sknake answered the question quite completely but you didn't mark the thread as solved. If you just mean add variables he put it right out there, what were you adding specifically?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.