How to create a Dotnet String[] in C/AL

jwilderjwilder Posts: 253Member
I ham using the C# Amazon .dll to send inventory quantities to Amazon. To instantiate the config.SetUserAgentHeader function there are four parameters which are String, String, String and String[]. So the 4th parameter is looking for an Array of strings. That 4th parameter needs to be a Dotnet type of an array of strings. How do I do this in C/AL?

Jason Wilder
[email protected]


  • lubostlubost Posts: 492Member
    System.Collections.ArrayList.'mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'
  • jwilderjwilder Posts: 253Member
    Actually what I am looking for is a params String[]. In C# you can simply do something like this:
    "<Parameter 1>", "<Parameter 2>"
    But in NAV it is expecting one dotnet paramter of params String[].

    Any thoughts?
    Jason Wilder
    [email protected]
Sign In or Register to comment.