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 286 views
1 answer 182 views
2 answers 258 views
1 answer 222 views
1 answer 227 views
1 answer 226 views
2 answers 365 views
...