Forum

.Net DLL imports with .Net Standard/.Net Core

Has anyone managed to get DLL imports working with .Net Standard or .Net Core? I created a simple class library in .Net Framework 471 with a single, simple Add method: public static int Add( int a, int b) { return a + b; } I was able to import the DLL in the MQL5 code for a test indicator

Get type of a class inherited from a base class at runtime

The collection classes in the standard library allow us to, for example, create a list of objects which all inherit from CObject. Obviously, this is useful because it allows us to store different types of object in the same list. However, when one is subsequently working with the contents of the