I suggest you ...

Add new feature to System.String like Typescript

This suggestion is migrated to Developer Community. Please use below link to view the current status.
https://developercommunity.visualstudio.com/content/idea/351721/add-new-feature-to-systemstring-like-typescript.html
We can write c# code like follows:
string name = "Tom";
string hello = $"Hello {name}!";
string path = @"D:\images\a.png";

Sometimes we want to keep complicated string fromat like Json string, It's very inconvenient. We must write like this:
string json = "{\"name\":\"Tom\"}";
json = @"{""name"":""Tom""}";

But in Typescript, it's very easy:
content: string = `{"name":"Tom"}`;

So I want to add this feature to c#/.Net.

14 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Zhaoli Song shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base