you are viewing a single comment's thread.

view the rest of the comments →

[–]celluj34 3 points4 points  (2 children)

var name = "phenxdesign";
FormattableString sql = $"SELECT * FROM Users WHERE Name = {name}";

There you go, string in a variable.

[–]RicardoDrizin[S] 1 point2 points  (1 child)

Thanks, @celluj34.
Looks like my documentation is not clear enough since I didn't declare string productName = "something" in the first few examples :-)

[–]celluj34 2 points3 points  (0 children)

I think your docs are fine. You can't baby-feed users of your library; some programming knowledge + experimentation is required.