What is the best way to add items from an Array into ArrayList?

 Posted by Raja on 9/9/2008 | Category: C# Interview questions | Views: 7861

Use AddRange method of the ArrayList.

 string[] arr = new string[] { "ram", "shyam", "mohan" };

ArrayList arrList = new ArrayList();

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response