Last active
August 8, 2018 18:21
-
-
Save nothke/9f20f6207caf9b7ec1684e9fcd13d9e8 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
List<int> intList; | |
void Init() | |
{ | |
intList = new List<int>(2); // 2 is capacity | |
} | |
void AddStuff() | |
{ | |
intList.Add(1); | |
intList.Add(2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment