C# C# Basics Console I/O Variables

declare a string variable named booktitle

challenge task 1 of 2

CodeChallenge.cs

1 Answer

Erik Gabor
Erik Gabor
3,406 Points

First Declare it

string bookTitle;

then assign a string literal to it in the second step

string bookTitle ="The Bridge of San Luis Rey by Thornton Wilder";