⚠️ Notice: This page contains archived content and may reference older versions of C# or .NET. For the latest tutorials, updated examples, and best practices for C# 12 and .NET 8, please visit the latest tutorials ⚠️
 

Exercise based on operator

Operator Exercise

1. What is operator and why we use it?
2. Write the name of operators with one example of each.
3. What is arthmetic operator? Give some example of such type of operators.
4. What is logical operator?
5. Define set operator and assignment operator.