title: How do I use ArrayList in C++?
body: <p>I have created a method who's return type is an ArrayList instead of List. And I have created a COM component. How do I access this ArrayList in my main application which is in C++?</p>
  
  <p>ex:</p>
  
  <pre><code> ArrayList fun1() 
   {
      ArrayList al = new ArrayList();
  
      al.Add("one");
      al.Add("two");
  
      return al;
   }
  </code></pre>
  
  <p>So how do I handle this return type in C++?</p>