retrieving single value from a public method with multiple values c#
<p>is it possible to have a public method that returns multiple values and then later call that method only retrieving the value that you want?</p>

<pre><code>public static string Values()
{
    string length = DAL.Util.getlength();
    string Name = DAL.Util.getName(ddlID.SelectedValue);
    return length + Name;
}
</code></pre>

<p>now I know if I were to call this method just by saying </p>

<pre><code>string a = Values();
</code></pre>

<p>it would return the concatenated string of both length and Name, but is there anyway to call just a specific variable from that method even if it were 10 variables long?</p>

<p>Thanks for any advice and help you can provide.</p>
