C# C# Basics Console I/O Variables

Prasanth Rv
Prasanth Rv
96 Points

how to initialize a string?

how to initialize a name to a string?

CodeChallenge.cs
 string bookTitle = ("i too had a love story");

1 Answer

Kevin Gates
Kevin Gates
12,872 Points

You don't need parenthesizes.

 string bookTitle = "i too had a love story";
Kevin Gates
Kevin Gates
12,872 Points

Hi Prasanth, if you found this answer helpful (which it appears you did), will you consider marking it "Best Answer"? This will show other students that your question was answered and will more easily assist them if they have a similar question.

Thanks!