C# Converter difficulties

Posted by Petr on Stack Overflow See other posts from Stack Overflow or by Petr
Published on 2010-03-22T08:10:59Z Indexed on 2010/03/22 8:21 UTC
Read the original article Hit count: 273

Filed under:
|

Hi, I am trying to fill object[] with List<string> but I cannot figure out how to use ConvertAll. MSDN did not help me. At first I tried to create an instance of Converter but it looks like it expects delegate?

Converter<string, object> conv = new Converter<string, object>(??); //why delegate? 
this.comboBox1.Items.AddRange(Form1.AnimalType.ConvertAll<object>(conv)); 

Thanks :)

© Stack Overflow or respective owner

Related posts about c#

Related posts about converter