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

Stacy Loggins
Stacy Loggins
3,327 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 84,578 Points

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

string bookTitle;