C# mono code example
Example: C# monogodb
MongoClient dbClient = new MongoClient(<<YOUR ATLAS CONNECTION STRING>>);
var dbList = dbClient.ListDatabases().ToList();
Console.WriteLine("The list of databases on this server is: ");
foreach (var db in dbList)
{
Console.WriteLine(db);
}