O'Reilly logo

Extending Microsoft Dynamics NAV 2016 Cookbook by Alexander Drogin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with .NET strings and arrays in C/AL

The .NET datatype in C/AL enables developers to use .NET strings and dynamics arrays in client application code. While the Syste.String datatype is compatible with NAV Text type, .NET arrays cannot be directly converted to NAV arrays.

In the following example, we will see how to efficiently use these datatypes in your code.

How to do it...

Objects developed in the walk-through get stock exchange data from the Yahoo Finance website and present the result in a table. Stock indicators are published in CSV format - a list of comma-separated strings, each containing a dataset related to a separate index.

  1. First of all, let's create a table where the data received from the stock information provider will be stored. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required