C# C# Basics Console I/O Variables

I am asked to Declare a string variable named bookTitle i have tried to do so but its never correct not sure what to do

how should i Declare a string variable ?

string "bookTitle"; 

1 Answer

Steven Parker
Steven Parker
162,979 Points

Variable names should not be enclosed in quotes.

Anything in quotes is a string literal. That might be handy in the next step when you assign the new variable.