Operators ar very helpful thing in computing value. while writing a program, you would like various types of operators to calculate value. These operators ar categorised as totally different classes in C sharp tutorial that performs specific task ex. The C# arithmetic operator performs basic calculation as add, subtraction, multiplication, division, and modulus whereas alternative operators perform totally different reasonably task. you may learn one by one of these operators in few next chapters.

Arithmetic Operators ar used for basic mathematical calculation in C# programming. The list of Arithmetic Operators is given below:


Operator Description Examples
+ Add numbers X=n1+n2
Subtract numbers X=n1-n2
* Multiply numbers X=n1*n2
/ Divide numbers X=n1/n2
% Divide two numbers and returns reminder X=22%10 then X will be X=2

Leave a Reply

Your email address will not be published. Required fields are marked *