
Prasanth Rv
3,164 Pointshow to initialize a string?
how to initialize a name to a string?
string bookTitle = ("i too had a love story");
1 Answer

Kevin Gates
14,814 PointsYou don't need parenthesizes.
string bookTitle = "i too had a love story";
Prasanth Rv
3,164 PointsPrasanth Rv
3,164 Pointsthank you.
Kevin Gates
14,814 PointsKevin Gates
14,814 PointsHi 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!