User Profile

Collapse

Profile Sidebar

Collapse
Chickenman
Chickenman
Last Activity: Nov 5 '08, 04:43 PM
Joined: Jul 29 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Chickenman
    replied to Array question
    in .NET
    Yes I am doing something like this:
    Code:
    string[] llarray = line.Split(',');
                                string labelInfo = llarray[1].ToString() + "-" + llarray[2].ToString();
    What is happening is that file A will come along and will look in the empty arraylist and realize it is not in there and add it(which it should do). File B will then come along and see file A and see that it is a duplicate and throw it into...
    See more | Go to post

    Leave a comment:


  • Chickenman
    started a topic Array question
    in .NET

    Array question

    Okay I am hoping you all can point me in the correct direction. I am new to the whole C#, .NET stuff but here we go. I have an app that gets a listing of files, and then uses a streamreader to find a specific line in the file and adds this along with the UNC to the filename to an arraylist.

    My problem is this:

    I get it to display the information in the format of:

    fieldA-fieldB,\\server share\filename...
    See more | Go to post

  • Chickenman
    replied to Simple List Comparison question
    in .NET
    The array's are string[].
    The Master list is List<string>.

    The completeinfo simply has my information I am searching on as well as the UNC to the file that it corresponds with.

    I am pulling a line out of several files. It will give me the result of say:
    information duplicate1, then the UNC and filename that is associated with it
    information duplicate2, then the UNC and filename of the second...
    See more | Go to post
    Last edited by Chickenman; Jul 29 '08, 04:32 PM. Reason: clarification

    Leave a comment:


  • Chickenman
    started a topic Simple List Comparison question
    in .NET

    Simple List Comparison question

    First time poster here so hopefully will not get flamed too badly ;) I am trying to teach myself C# and am using VS2005 right now on XP.

    Here is the code snippet I have after doing a streamreader:

    Code:
    string[] llarray = line.Split(',');
    string labelInfo = llarray[1].ToString() + "-" + llarray[2].ToString();
    string completelabelInfo = llarray[1].ToString() + "-" + llarray[2].ToString() +
    ...
    See more | Go to post
    Last edited by Curtis Rutland; Jul 29 '08, 04:15 PM. Reason: Fixed up your code formatting a little bit :)
No activity results to display
Show More
Working...