Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generics vs ArrayList
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Generics vs ArrayList
Divers
Thread ID:
01431995
Message ID:
01431995
Vues:
87
I have been using bothy generic lists and array lists, but I really don't see the difference. What is the difference between:
Customer cust = new Customer();
ArrayList customers = new ArrayList();
customers.Add(cust);
and
Customer cust = new Customer();
List<Customer> customers2 = new List<Customer>();
customers2.Add(cust);
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform