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

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 83,957 Points

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

string bookTitle;