vb.net Multiple objects question

Discussion in 'Programming' started by Silver89, Nov 12, 2009.

  1. #1
    If I'm trying to create multiple objects in visual basic as such:

    
    newAccount = New account("Bryan", "nayrb", 80000)
    newAccount = New account("Anna", "anna", 20000)
    newAccount = New account("Adam", "mada", 12000)
    newAccount = New account("Rosanna", "annasor", 40000)
    
    Code (markup):
    Do I need to give each object different names or is there a way to select the object using it's name like in databases.

    Select newAccount where name = "Bryan"

    Trying to get my head around classes at the moment :rolleyes:
     
    Silver89, Nov 12, 2009 IP