<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Add method in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/add-method/m-p/1459866#M83530</link>
    <description>Just having abit of trouble converting to VB .net though : ) I'm assuming&lt;BR /&gt;
this is C# Tony?&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:4985046@discussion.autodesk.com...&lt;BR /&gt;
ArrayList a = new ArrayList(new string[] {"a", "b", "c"});&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
"Dale Levesque" &lt;DALE at="" dynamicwindows.com=""&gt; wrote in message&lt;BR /&gt;
news:4984952@discussion.autodesk.com...&lt;BR /&gt;
Is there a simple way to initialize an array list with several items rather&lt;BR /&gt;
than using the add method for each item? In the following example it would&lt;BR /&gt;
be nice to add all items with one add call.&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FDOR")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FPAR")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAES")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAEL")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAED")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAER")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAES")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAED")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("BDE2")&lt;/DALE&gt;&lt;/TONY.TANZILLO&gt;</description>
    <pubDate>Fri, 14 Oct 2005 16:28:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-10-14T16:28:13Z</dc:date>
    <item>
      <title>Add method</title>
      <link>https://forums.autodesk.com/t5/net-forum/add-method/m-p/1459863#M83527</link>
      <description>Is there a simple way to initialize an array list with several items rather&lt;BR /&gt;
than using the add method for each item? In the following example it would&lt;BR /&gt;
be nice to add all items with one add call.&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FDOR")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FPAR")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAES")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAEL")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAED")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAER")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAES")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAED")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("BDE2")</description>
      <pubDate>Fri, 14 Oct 2005 15:19:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/add-method/m-p/1459863#M83527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-14T15:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Add method</title>
      <link>https://forums.autodesk.com/t5/net-forum/add-method/m-p/1459864#M83528</link>
      <description>ArrayList a = new ArrayList(new string[] {"a", "b", "c"});&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
"Dale Levesque" &lt;DALE at="" dynamicwindows.com=""&gt; wrote in message news:4984952@discussion.autodesk.com...&lt;BR /&gt;
Is there a simple way to initialize an array list with several items rather&lt;BR /&gt;
than using the add method for each item? In the following example it would&lt;BR /&gt;
be nice to add all items with one add call.&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FDOR")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FPAR")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAES")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAEL")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAED")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAER")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAES")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAED")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("BDE2")&lt;/DALE&gt;</description>
      <pubDate>Fri, 14 Oct 2005 16:11:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/add-method/m-p/1459864#M83528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-14T16:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Add method</title>
      <link>https://forums.autodesk.com/t5/net-forum/add-method/m-p/1459865#M83529</link>
      <description>Excellent.&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:4985046@discussion.autodesk.com...&lt;BR /&gt;
ArrayList a = new ArrayList(new string[] {"a", "b", "c"});&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
"Dale Levesque" &lt;DALE at="" dynamicwindows.com=""&gt; wrote in message&lt;BR /&gt;
news:4984952@discussion.autodesk.com...&lt;BR /&gt;
Is there a simple way to initialize an array list with several items rather&lt;BR /&gt;
than using the add method for each item? In the following example it would&lt;BR /&gt;
be nice to add all items with one add call.&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FDOR")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FPAR")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAES")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAEL")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAED")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAER")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAES")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAED")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("BDE2")&lt;/DALE&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Fri, 14 Oct 2005 16:13:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/add-method/m-p/1459865#M83529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-14T16:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Add method</title>
      <link>https://forums.autodesk.com/t5/net-forum/add-method/m-p/1459866#M83530</link>
      <description>Just having abit of trouble converting to VB .net though : ) I'm assuming&lt;BR /&gt;
this is C# Tony?&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:4985046@discussion.autodesk.com...&lt;BR /&gt;
ArrayList a = new ArrayList(new string[] {"a", "b", "c"});&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
"Dale Levesque" &lt;DALE at="" dynamicwindows.com=""&gt; wrote in message&lt;BR /&gt;
news:4984952@discussion.autodesk.com...&lt;BR /&gt;
Is there a simple way to initialize an array list with several items rather&lt;BR /&gt;
than using the add method for each item? In the following example it would&lt;BR /&gt;
be nice to add all items with one add call.&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FDOR")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FPAR")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAES")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAEL")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAED")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAER")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAES")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAED")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("BDE2")&lt;/DALE&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Fri, 14 Oct 2005 16:28:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/add-method/m-p/1459866#M83530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-14T16:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Add method</title>
      <link>https://forums.autodesk.com/t5/net-forum/add-method/m-p/1459867#M83531</link>
      <description>According to reflector:&lt;BR /&gt;
&lt;BR /&gt;
Dim a As New ArrayList( New String() {"a", "b", "c"} )&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
"Dale Levesque" &lt;DALE at="" dynamicwindows.com=""&gt; wrote in message news:4985110@discussion.autodesk.com...&lt;BR /&gt;
Just having abit of trouble converting to VB .net though : ) I'm assuming&lt;BR /&gt;
this is C# Tony?&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:4985046@discussion.autodesk.com...&lt;BR /&gt;
ArrayList a = new ArrayList(new string[] {"a", "b", "c"});&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
"Dale Levesque" &lt;DALE at="" dynamicwindows.com=""&gt; wrote in message&lt;BR /&gt;
news:4984952@discussion.autodesk.com...&lt;BR /&gt;
Is there a simple way to initialize an array list with several items rather&lt;BR /&gt;
than using the add method for each item? In the following example it would&lt;BR /&gt;
be nice to add all items with one add call.&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FDOR")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FPAR")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAES")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAEL")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAED")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAER")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAES")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("FAED")&lt;BR /&gt;
&lt;BR /&gt;
fa_FrenchDoors.Add("BDE2")&lt;/DALE&gt;&lt;/TONY.TANZILLO&gt;&lt;/DALE&gt;</description>
      <pubDate>Fri, 14 Oct 2005 16:42:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/add-method/m-p/1459867#M83531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-14T16:42:52Z</dc:date>
    </item>
  </channel>
</rss>

