.NET Library

A .NET simple example

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();