C# C# Basics (Retired) Console I/O Variables

c#

Initialize bookTitle with the title of your favorite book.

  1. string bookTitle;
  2. bookTitle = "chikeAndtheriver";
CodeChallenge.cs
string bookTitle;
bookTitle = "chikeAndtheriver";

1 Answer

Samuel Savaria
Samuel Savaria
4,797 Points

You need to define the variable when you initialise it:

string bookTitle = "bookTitle";