C# Basics (Retired)
how to initialize a name to a string?
string bookTitle = ("i too had a love story");
You don't need parenthesizes.
string bookTitle = "i too had a love story";
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.
Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.