C# C# Basics Console I/O Variables

Stacy Loggins
Stacy Loggins
Pro Student 2,246 Points

string bookTitle(); this is the response i gave to declare a string variable in the challenge.

I even added the beginning class program, static void main code in as well.

string bookTitle();

1 Answer

Brendan Whiting
Brendan Whiting
Front End Web Development Treehouse Moderator 82,988 Points

We use parens () when we're calling a function. Here we just want the name of a variable:

string bookTitle;