Collections question

    Date: 07/12/06 (C Sharp)    Keywords: no keywords

    If I have ArrayList G and its object is also ArrayList H, how can I get the information stored in the ArrayList H? A year ago I was doing the following:


    IEnumerator enumerator = G.GetEnumerator();
    enumerator.MoveNext();
    string h=enumerator.Current.ToString();


    now this operation gives me the following g="System.Collections.ArrayList", which is a type of object Н but not its content.

    How can I get the content? I've searched the MSDN but they do not consider ArrayList as an object of another ArrayList.

    Source: http://community.livejournal.com/csharp/69570.html

« DataGridView BeginEdit || SmartPhone 2003/Windows... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home