Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections.Generic;
- var list = new List<int>();
- list.Add(1);
- list.Add("string"); //compile-time error!
- int i = list[0];
- string[] stringArray = myArrayList.ToArray(typeof(string)) as string[];
Add Comment
Please, Sign In to add comment