Skip to content

Instantly share code, notes, and snippets.

@shassaan
Created November 3, 2020 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shassaan/d9a6afb725735272e95e061ed245e769 to your computer and use it in GitHub Desktop.
Save shassaan/d9a6afb725735272e95e061ed245e769 to your computer and use it in GitHub Desktop.
Adding data in ArrayList
//Adding elements
var arlist = new ArrayList();
arlist.Add(1);
arlist.Add("Bill");
arlist.Add(" ");
arlist.Add(true);
arlist.Add(4.5);
arlist.Add(null);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment