I want to form a string as <repeat><daily dayFrequency="10" /></repeat>
Wherein the value in ""
comes from a textboxe.g in above string 10
. I formed the string in C# as
@"<repeat><daily dayFrequency=""+ txt_daily.Text + "" /></repeat>"
but i get the output as
<repeat><daily dayFrequency="+ txt_daily.Text+ " /></repeat>
. How to form a string which includes the input from a textbox and also double quotes to be included in that string.