Last active
May 22, 2021 12:57
-
-
Save Lahirutech/ce6abcac47417fe8a8f64a9093b05780 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
var myArrList = new ArrayList(); | |
var myArrList2 = new ArrayList(){1, "Bill", " ", true, 4.5, null}; | |
int[] arr = { 150, 200, 300, 400 }; | |
Queue myQ = new Queue(); | |
myQ.Enqueue("Hello"); | |
myQ.Enqueue("World!"); | |
arlist1.AddRange(myArrList2); //adding arraylist in arraylist | |
arlist1.AddRange(arr); //adding array in arraylist | |
arlist1.AddRange(myQ); //adding Queue in arraylist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment