i am here to ask if there are any ways to put variables inside "@" Strings in C#. Such that the id in the following code, can be changeable.
string xml = @"
<S>
<child id='1'/>
<child id='2'>
<grandchild id='3' />
<grandchild id='4' />
</child>
</S>";
string.Formatis your friend.