.NET Library

The .NET Standard Data Provider for MonetDB is available from: https://github.com/MonetDB/MonetDB-.Net It is written in C#.

C# .NET usage example

using MonetDb.Mapi;
using MonetDb.Mapi.Helpers.Mapi;

MonetDbConnection conn = new MonetDbConnection("Host=localhost;port=50000;Database=demo;username=monetdb;password=monetdb");
conn.Open();

MonetDbCommand cmd = new MonetDbCommand("SELECT * FROM foo;", conn);

var reader = cmd.ExecuteReader();
while(reader.Read())
{
    // The value in the table is an integer (INT)
    // if it were a string, use reader.GetString(0);
    Console.WriteLine(reader.GetInt32(0));
}

Console.ReadLine();