You are on page 1of 2

6/5/2020 C# Tutorial | SoloLearn: Learn to code for FREE!

Basic Concepts
XP 120
Arithmetic Operators

1/4
RA
KR
Operators UP
EE
An operator is a symbol that performs mathematical or logical manipulations. 2ke

Res
Arithmetic Operators
C# supports the following arithmetic operators:

For example:

COURSES CODE PLAYGROUND DISCUSS


int x = 10;
int y = 4; TOP LEARNERS © 2020 SoloLearn Inc.
https://www.sololearn.com/Play/CSharp/ 1/2
6/5/2020 C# Tutorial | SoloLearn: Learn to code for FREE!

Console.WriteLine(x-y);
Basic Concepts
//Outputs 6 XP 120
Arithmetic Operators
Try It Yourself

RA
KR
Tap Try It Yourself to play around with the code! UP
EE
2ke
126 COMMENTS
Res

2154

Q&A

© 2020 SoloLearn Inc.


https://www.sololearn.com/Play/CSharp/ 2/2

You might also like