Sujeet Raman

Sujeet Raman

  • 808
  • 915
  • 334.3k

How to concatenate string having double quotes in c#

Feb 1 2022 6:47 AM

hi,

 

how i can concatinate double quoted string? i should get end result like below: but how i have to concatinate "Provider Review" need to keep "" in this query but my logic is not working.

this should be the final result  :  sQury2 =  select Distinct  , name, Decis.code  "Provider Review"

 

 string sQury2 = " select Distinct" + "\r\n";

 sQury2 = sQury2 + "   , name" + "\r\n";

  sQury2 = sQury2 + " , Decis.code  "Provider Review" + "\r\n"; // how to change this qry?


Answers (1)