Search:

Type: Posts; User: DanFraser

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. That is... beautiful...

    That is... beautiful...
  2. I completely forgot about reverse. But I was...

    I completely forgot about reverse. But I was typing the lot on an iPhone!
  3. You can just use string.split to break it up,...

    You can just use string.split to break it up, then with that array just reverse populate.



    private string ReverseString(string input)
    {
    List<string> list1 = new List<string>(input.Split('...
  4. Replies
    4
    Views
    4,554

    You missed out the most important case: ...

    You missed out the most important case:



    switch
    user inserted new contact
    add new contact
    user deleted contact
    delete contact
    user modified contact
  5. Also forgot to mention that command windows under...

    Also forgot to mention that command windows under normal conditions don't have the "press any key ... " at the end. Dead easy to add.



    Console.WriteLine();
    Console.Write("Press any key to...
  6. Have you checked the test.txt file? The command...

    Have you checked the test.txt file? The command window can go astonishingly fast sometimes. Maybe try adding a DateTime.Now.ToString() to the writeline just to check.
  7. Replies
    4
    Views
    2,123

    Isn't outbuffer[2] supposed to take intbytes?

    Isn't outbuffer[2] supposed to take intbytes?
  8. Replies
    12
    Views
    4,176

    Simple, one of the arrays is not as long as the...

    Simple, one of the arrays is not as long as the other one.
  9. Replies
    6
    Views
    1,352

    Yup, "please pass my coursework and exams for me".

    Yup, "please pass my coursework and exams for me".
  10. Replies
    6
    Views
    1,352

    It will be a course code at a university (college...

    It will be a course code at a university (college in the US).

    You also copied and pasted the exact same question on to what seems like 5-7 other programming forums.

    Have fun cheating your way...
  11. Replies
    1
    Views
    1,189

    What's the result of "count" at the end?

    What's the result of "count" at the end?
  12. Replies
    2
    Views
    5,629

    For starters, forget about ArrayList, it's so old...

    For starters, forget about ArrayList, it's so old it's unreal. Use a generic list for string. The for loop would still be the same but all you would change is



    // ArrayList name = new...
  13. Thread: comboBox

    by DanFraser
    Replies
    3
    Views
    1,347

    Each object has the text contained in a property,...

    Each object has the text contained in a property, iterate.
  14. Thread: comboBox

    by DanFraser
    Replies
    3
    Views
    1,347

    Is the combobox dropdownlist?

    Is the combobox dropdownlist?
  15. Nice quick easy way is build your own buffer.

    Nice quick easy way is build your own buffer.
  16. Soeverythingshouldbelikethiswhenyoucodec#then?Theh...

    Soeverythingshouldbelikethiswhenyoucodec#then?Thehumanmindismuchmorecapableofunderstandingcompressedinformationinhumanformthanmostcomputersarecapableofmanaging.Thisistheunderlyingreasonwhywhitespaceis...
  17. Think of white space in code the same as...

    Think of white space in code the same as paragraphs not being in walls of text.
  18. Replies
    8
    Views
    1,543

    You can easily put both if condition statements...

    You can easily put both if condition statements in the same if. Surround both by brackets and use || as an or.

    Other than that I don't actually see what is going wrong. Do you get an error? Do...
  19. Replies
    8
    Views
    1,543

    Without knowing what the code is for, the only...

    Without knowing what the code is for, the only issue I see is you have an if statement that does the exact same thing when true or false.
  20. Doing this on an iPhone is not easy as I...

    Doing this on an iPhone is not easy as I thought... Excuse the case and any rough typos...



    Dictionary<string, string> listA = new dictionary<string, string>();
    Dictionary<string, int> listB...
  21. woah. foreach a keyvaluepair instead of all that.

    woah. foreach a keyvaluepair instead of all that.
  22. Replies
    7
    Views
    2,494

    Can't properly remember, not at my computer. But...

    Can't properly remember, not at my computer. But use those classes in your project. Then you can use inheritance to expand the individual functionality.


    unsafebitmap ub = new...
  23. Replies
    7
    Views
    2,494

    The better way is to not use the C# way. It's...

    The better way is to not use the C# way. It's awfully slow.

    ImageFast: A stand-alone library for quickly loading GDI+ images without validation. - Justin Rogers

    After loading it you can then...
  24. Replies
    5
    Views
    1,701

    Well, you're looking for one number out of 899...

    Well, you're looking for one number out of 899 with that if statement along with the random number generator.
  25. Replies
    4
    Views
    1,901

    Woah, for one, you have an infinite loop. Yes...

    Woah, for one, you have an infinite loop. Yes you might want it to repeat but you should always have an easy exit option other than the three finger salute.

    Next you should modify the routine to...
Results 1 to 25 of 131
Page 1 of 6 1 2 3 4