Created
December 7, 2014 04:25
-
-
Save snippe/2e66d1249a25ab8c7d6c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//.NET 1.0 | |
ArrayList list = new ArrayList(); | |
list.Add(i); | |
int j = (int)list[0]; | |
//With Generics | |
List<int> list = new List<int>(); | |
list.Add(i); | |
int j = list[0]; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment