static void Main(string[] args) { ClientApi api = new ClientApi("128.230.199.93", "username", "password"); ResultSet set = api.DoSQL("SELECT * FROM table0"); foreach(var row in set){ int row_index = set.GetInt("row_index"); String address = set.GetString("postal_address"); } }