C# Mastery Hub
Home
Challenges
Discussion
Lessons
Core Topics
C# Fundamentals
Console Applications
Classes & OOP
Windows Forms
ASP.NET Core
SQL Server
VS & SQL Connection
RDLC Reports
.NET MAUI
Getting Started
Getting Started
Website Development
SEO Guide
Security
Project Workflow
Extra Topics
Cloud & Deployment
AWS Cloud
Deployment
About
Contact
Test Your Knowledge
C# Fundamentals - Lesson 4: Operators and Expressions Quiz
Answer all questions to test your understanding
1
What does the % operator do in C#?
Division
Multiplication
Modulus (remainder)
Percentage
2
What is the result of 10 / 3 in C# (integer division)?
3.333
3
4
3.33
3
Which operator is used for logical AND in C#?
&
&&
and
AND
4
What is the difference between ++x and x++?
No difference
++x increments before use, x++ increments after use
x++ increments before use, ++x increments after use
They produce different results only with strings
5
Which operator is used for string concatenation?
+
&
.
,
Submit Quiz