Respondida how to eliminate duplicates in struct arrays

  • viernes, 23 de septiembre de 2011 21:00
     
     
    how do we eliminate duplicates in struct arrays

Todas las respuestas

  • martes, 27 de septiembre de 2011 13:27
     
     Respondida
      for (int i = 0; i < list.Count; i++)
                 {
                     if (!list.Contains((string)list[i]))
                     {
                         list.Add((string)list[i]);
                     }
                     else { }
                 }
  • miércoles, 28 de septiembre de 2011 6:17
    Moderador
     
     

    Hi linqquest,

    Welcome to the MSDN Forum.

    It is hard to say how to make sense of your questions, normally, you can take Aca85's suggestions.

    Or, would you please provide more detailed infomation for us or provide your code here and we will be appreciate to help you to resolve your issues.

    Best Regards


    Neddy Ren [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.