Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
String Interpolation
#1
Hello -

Does QM support String Interpolation (https://docs.microsoft.com/en-us/dotnet/...terpolated) when using C#?

I am trying the following code.
Code:
Copy      Help
#ret
//C# code
using System;
using System.Windows.Forms;
class SampleFunction
{
    static void Main(string[] args)
    {
        MessageBox.Show($"Hello:{args[0]}");
    }
}

And I get the following error. 

<macro "Scripting_Link /45 19 2 ''Macro2''">Macro2(45,19): error CS1056: Unexpected character '$'.    <help #IDP_ERR>?


Messages In This Thread
String Interpolation - by csonon - 12-03-2020, 04:49 PM
RE: String Interpolation - by Gintaras - 12-03-2020, 05:22 PM
RE: String Interpolation - by csonon - 12-03-2020, 05:26 PM
RE: String Interpolation - by Kevin - 12-03-2020, 11:34 PM
RE: String Interpolation - by csonon - 12-04-2020, 01:19 AM
RE: String Interpolation - by Kevin - 12-04-2020, 01:28 AM
RE: String Interpolation - by Gintaras - 12-04-2020, 06:55 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)