C# C# Basics (Retired) Console I/O Formatting Output

string firstName = Console.ReadLine(); Console.WriteLine (firstName );

is that code correct

CodeChallenge.cs
string firstName = Console.ReadLine();
Console.WriteLine (firstName );

1 Answer

Daniel Medina
Daniel Medina
13,863 Points

You are very close. You have an extra space in your code.

Console.WriteLine (firstName);, needs to be Console.WriteLine(firstName);