Languages
[Edit]
EN

C#/.NET - ArrayList vs List<T> in C#

12 points
Created by:
Root-ssh
178430

In C#/.NET System.Collections.Generic.List is generic implementation of System.Collections.ArrayList. Second one is obsolete and not recommended to use.

1. ArrayList class example

Edit

Output:

2. List<T> class example

Edit

Output:

3. References

Edit
  1. ArrayList Class - Microsoft Docs
  2. List<T> Class - Microsoft Docs
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join