Access item in list custom class
<p>Ok, I have this code:</p>

<pre><code>URLs.Add(new URL(str.URL, str.Title, browser));
</code></pre>

<p>and this is the URL class:</p>

<pre><code>public class URL
{
    string url;
    string title;
    string browser;
    public URL(string url, string title, string browser)
    {
        this.url = url;
        this.title = title;
        this.browser = browser;
    }
}
</code></pre>

<p>Now, how do I access the URL title..?<br>
ie., Property of URLs[0]...? When I print URLs[0].ToString, it just gives me the Namespace.URL.<br>
How do I print the variables inside of the URL class?</p>
