For .NET Framework, the examples are given in C#, using Visual Studio under Windows as development environment. If programming constructs or activities differ in Visual Basic .NET or managed C++, this is noted at the first occurrence.
For .NET Core, the examples are given in C# using the .NET Core SDK, usable on both Windows and Linux. At the moment we do not officially support using the .NET Core interface with other languages, C# has been our focus for testing and documentation.
How to create applications under Linux using Mono is described in section “HALCON/.NET Applications under Linux Using Mono”. Many of the code examples stem from the example Matching, which is provided in C# (%HALCONEXAMPLES%\c#), Visual Basic .NET (%HALCONEXAMPLES%\vb.net), and managed C++ (%HALCONEXAMPLES%\cpp.net). An overview of the provided example applications can be found in section “Provided Examples”.
But before explaining how to create applications, we must take a brief look under the hood of .NET, particularly at the dependency of applications on the .NET Framework.