One of the topics for the MySQL 5.6 Developer exam is: "Write a basic .NET application that uses MySQL".
I have used Connector/Net a few times the last few years, but the last time I looked at some code involving Connector/Net was when I took the MySQL 5 Developer exam, which was long ago.
I'm using Linux on both my laptop and on servers for most projects. So I don't use or see many .NET code.
So I need a short refresh.
To use Connector/Net on Linux you will need to install Mono. The base for .NET is CIL, which exists in at least 4 versions: 1.0, 2.0 and 4.0. To compile C# code with mono you need the command which correspondends with the CIL version you are using.
- CIL 1.0: mcs
- CIL 2.0: gmcs