C# C# Basics Console I/O Variables

Stacy Loggins
PRO
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.

CodeChallenge.cs
string bookTitle();

1 Answer

Brendan Whiting
MOD
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;