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 190 views
1 answer 94 views
2 answers 145 views
1 answer 141 views
1 answer 143 views
1 answer 141 views
2 answers 267 views
...