CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Jul 2002
    Location
    .NET 2.0/.NET 3.0/.NET 3.5 VS2005/VS2008
    Posts
    284

    StringCollection Dll

    I wrote a DLL file, that contains a StringCollection.
    If you add a reference to this file, the StringCollection Class will become aviable in the System.Collections namespace !

    You can use it like this:

    private System.Collections.StringCollection strs;

    public void Test()
    {
    strs = new System.Collections.StringCollection();

    strs.LoadFromFile(@"c:\test.txt");
    }

    The following functions are defined:

    Add(string text)
    Remove(int index)

    And ofcourse you can get/set items like this: strs[x] = "somestring"; somestring = strs[x];
    Attached Files Attached Files
    WM.

    What about weapons of mass construction?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured