Retrieving specific objects from an ArrayList

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wbosw
    New Member
    • Mar 2007
    • 36

    #1

    Retrieving specific objects from an ArrayList

    I have a list of objects (developers) in an arraylist. Each object has five properties. I'm using VB.Net

    EX.

    developer.Id
    developer.Skill s
    developer.Skill Id
    developer.Skill Level
    developer.Years Employed

    I want to retrieve the developers with certain skills ( java , c++) and certain skill levels (skill levels range from 1 to 10 ). What is the best way to retrieve these objects?


    Thanks,

    Wbosw
  • wbosw
    New Member
    • Mar 2007
    • 36

    #2
    Use ArrayList.GetEn umerator.





    Originally posted by wbosw
    I have a list of objects (developers) in an arraylist. Each object has five properties. I'm using VB.Net

    EX.

    developer.Id
    developer.Skill s
    developer.Skill Id
    developer.Skill Level
    developer.Years Employed

    I want to retrieve the developers with certain skills ( java , c++) and certain skill levels (skill levels range from 1 to 10 ). What is the best way to retrieve these objects?


    Thanks,

    Wbosw

    Comment

    Working...