How to put quotes within a string in C#

1 Answer

0 votes
using System;

class Program
{
    static void Main() {
        string s = @"java ""c#"" php";
        
        Console.Write(s);
    }
}



/*
run:

java "c#" php

*/

 



answered Sep 5, 2019 by avibootz

Related questions

1 answer 185 views
1 answer 92 views
2 answers 141 views
1 answer 131 views
1 answer 136 views
1 answer 135 views
2 answers 265 views
...