How to display query in output
<p>So I have a query and am trying to display it in the Debug Output, when I run the file it gives me a list of output starting with iisexpress.exe : <a href="https://gyazo.com/fd9eb832dfcc08571b31490103b85b49" rel="nofollow noreferrer">https://gyazo.com/fd9eb832dfcc08571b31490103b85b49</a>
but no actual result? I am trying to run a query on Visual Studios2015 for the first time using the dotnetRDF. My code is below:</p>

<pre><code>public static void Main(String[] args)
        {
            Debug.WriteLine("SQLAQL query example");
            //Define a remote endpoint
            //Use the DBPedia SPARQL endpoint with the default Graph set to DBPedia
            SparqlRemoteEndpoint endpoint = new SparqlRemoteEndpoint(new Uri("http://dbpedia.org/sparql"), "http://dbpedia.org");

            //SPARQL query to show countries, population, capital for countries where population is more than 100000 and limit results to 50
            String queryString = "PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;  " +
              "PREFIX type: &lt;http://dbpedia.org/class/yago/&gt; " +
              "PREFIX prop: &lt;http://dbpedia.org/property/&gt;  " +
              "SELECT ?country_name ?population ?cptl  " +
              "WHERE {  " +
              "?country rdf:type type:Country108544813.  " +
              "?country rdfs:label ?country_name.  " +
              "?country prop:populationEstimate ?population.  " +
              "?country dbo:capital ?cptl  " +
              "FILTER (?population &gt; 1000000000) .  " +
              "}" +
              "LIMIT 50 ";
            Debug.WriteLine("queryString: [" + queryString + "]");

            //Make a SELECT query against the Endpoint
            SparqlResultSet results = endpoint.QueryWithResultSet(queryString);
            foreach (SparqlResult result in results)
            {
                Debug.WriteLine(result.ToString());
            }

        }
</code></pre>

<p>Just learning SPARQL so this maybe a very basic question. 
Many Thanks:) </p>