C# : Adding items to comboBox error
<p>I have a League.cs file which contains all the leagues for a project</p>

<p>when i try to display this data on a combobox it displays "App.Toolkit.Parameter" instead of the league names.</p>

<p>i used this code for the combo:</p>

<pre><code>foreach (League item in League.GetAll()) { comboBox1.Items.Add(item); }
</code></pre>

<p>and the league.cs file:</p>

<pre><code>using System.Collections.Generic;

namespace App.Toolkit.Parameter
{
    public class League : SearchParameterBase&lt;uint&gt;
    {
        public const uint BarclaysPremierLeague = 13;

        public const uint Bundesliga = 19;

        public const uint LigaBbva = 53;

        public const uint Ligue1 = 16;

        public const uint SerieA = 31;

        private League(string description, uint value)
        {
            Description = description;
            Value = value;
        }

        public static IEnumerable&lt;League&gt; GetAll()
        {
            yield return new League("Barclays Premier League", BarclaysPremierLeague);
            yield return new League("Bundesliga", Bundesliga);
            yield return new League("Liga BBVA", LigaBbva);
            yield return new League("Ligue 1", Ligue1);
            yield return new League("Serie A", SerieA);
        }
    }
}
</code></pre>

<p>thanks in adv :)</p>
