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

shobanaannadurai
shobanaannadurai
4,202 Points

Declared string bookTitle; at first time code check it was run without any exception then at second its throw an error.

Declared string bookTitle; at first time code check it was run without any exception then at second check it was throw an error.

CodeChallenge.cs
string bookTitle;

1 Answer

Steven Parker
Steven Parker
171,108 Points

It doesn't look like you've written anything for task 2 yet.

The instructions for task 2 are: "Initialize bookTitle with the title of your favorite book." You'll need to add code to perform that task before it will pass the second validation test.

shobanaannadurai
shobanaannadurai
4,202 Points

Thanks for your info, I got confused that i thought that is for first task so i tried that same code check even for second test also.☺