how to not allow double quotes in string for c# code example
Example 1: c# string contain double quote
var lyrics = "\"Alive\", she cried!"
Example 2: c# escape quotes
var lyrics = @"""Alive"", she cried!"
var lyrics = "\"Alive\", she cried!"
var lyrics = @"""Alive"", she cried!"