Quiz Yourself: C# Basics

Check your understanding of C# case sensitivity, syntax rules, type casting, and control flow structures.

We'll cover the following...

C# Basics Quiz

1.

Review the following code. What is the output?

string x = "10";
int y = 5;
Console.WriteLine($"Result: {x + y}");
A.

Result: 15

B.

Result: 105

C.

Result: 10.5

D.

Run-time error


1 / 14