Go to w3c.91xjr.com
Reset Score
Close This Menu
C# Syntax
Exercise 1
Go to C# Syntax Tutorial
C# Comments
Exercise 1
Go to C# Comments Tutorial
C# Variables
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Exercise 5
Go to C# Variables Tutorial
C# Data Types
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Go to C# Data Types Tutorial
C# User Input
Exercise 1
Exercise 2
Go to C# User Input Tutorial
C# Operators
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Go to C# Operators Tutorial
C# Math
Exercise 1
Exercise 2
Exercise 3
Go to C# Math Tutorial
C# Strings
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Exercise 5
Exercise 6
Go to C# Strings Tutorial
C# Booleans
Exercise 1
Exercise 2
Go to C# Booleans Tutorial
C# If...Else
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Exercise 5
Go to C# If...Else Tutorial
C# Switch
Exercise 1
Exercise 2
Go to C# Switch Tutorial
C# Loops
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Exercise 5
Go to C# Loops Tutorial
C# Arrays
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Exercise 5
Go to C# Arrays Tutorial
C# Methods
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Go to C# Methods Tutorial
C# Classes/Objects
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Exercise 5
Exercise 6
Exercise 7
Go to C# Classes/Objects Tutorial
C# Exceptions
Exercise 1
Exercise 2
Go to C# Exceptions Tutorial
Menu
×
×
Correct!
Exercise:
Use a
for
loop to print "Yes" 5 times:
@(3) (int i = 0; i < 5; @(3)) { Console.WriteLine("Yes"); }
for (int i = 0; i < 5; i++) { Console.WriteLine("Yes"); }
Not Correct
Click
here
to try again.
Correct!
Next ❯
Show Answer
Hide Answer
Submit Answer ❯
Show Answer
Hide Answer
×
Reset the Score?
Reset?
Cancel?