• Member Avatar for kplcjl
    kplcjl

    Replied To a Post in Allowing only Numeric values in a textbox in c#

    I also want programmers to understand, when they get to keypress control, their responsibility on how their app acts, goes through the roof because you've disabled so many built in …
  • Member Avatar for kplcjl
    kplcjl

    Replied To a Post in Allowing only Numeric values in a textbox in c#

    deceptikon: I noticed your tag line: "Respect is like a punch to the face. If you deserve it, you don't have to ask." It's interesting because a single post can …
  • Member Avatar for kplcjl
    kplcjl

    Gave Reputation to deceptikon in Allowing only Numeric values in a textbox in c#

    > Help whom? The original poster is 3 years gone. The original poster isn't the only person a thread might help, that's why we don't close threads after they reach …
  • Member Avatar for kplcjl
    kplcjl

    Replied To a Post in Allowing only Numeric values in a textbox in c#

    Sorry for being so discourtious, you're right, it's obvious my brain opperates at a different level.
  • Member Avatar for kplcjl
    kplcjl

    Replied To a Post in Allowing only Numeric values in a textbox in c#

    Help whom? The original poster is 3 years gone. I certainly would be pissed at a control that didn't let me use the arrow keys, the backspace key, the delete …
  • Member Avatar for kplcjl
    kplcjl

    Replied To a Post in Dictionary from a text file

    Sort of looks like a VB language version. Have no idea how that all works. In .NET you have Dictionary(TKey, TValue) Constructor (System.Collections.Generic) that can be used. This will NOT …
  • Member Avatar for kplcjl
    kplcjl

    Replied To a Post in Help

    Of course you could get a single line instruction and use a loop by preceeding the above with for (; 1 == 2; ) ; You can make it a …
  • Member Avatar for kplcjl
    kplcjl

    Replied To a Post in Help

    for the single line command challenge: Console.WriteLine(" 1\n 121\n 12321\n 1234321\n123454321\n 1234321\n 12321\n 121\n 1"); Of course that violates the "using a loop" constraint :)
  • Member Avatar for kplcjl
    kplcjl

    Replied To a Post in Help

    Of course after posting, I see misspelling of "backwards"
  • Member Avatar for kplcjl
    kplcjl

    Replied To a Post in Help

    No way would I try a one-liner. I tested this on 5 and 50 and both worked properly. /// <summary> /// Goes from 1 to 99, lists on Console the …
  • Member Avatar for kplcjl
    kplcjl

    Replied To a Post in Splitting a string, delimiters included

    ddanbe: thanks for the endorsement. Caused me to relook at my code. Wait... That shouldn't work! Yep, didn't notice the last field isn't included in the List and it didn't …
  • Member Avatar for kplcjl
    kplcjl

    Gave Reputation to ddanbe in Splitting a string, delimiters included

    Great work guys! But I guess we now can no longer speak of the great Ketsuekiame([look here)](http://www.daniweb.com/software-development/csharp/threads/469203/help/2#post2045989)but also of the great decepticon!Who clearly wins here. Wish I knew more about …
  • Member Avatar for kplcjl
    kplcjl

    Replied To a Post in Splitting a string, delimiters included

    Whoops declare temp and never use it!
  • Member Avatar for kplcjl
    kplcjl

    Replied To a Post in Splitting a string, delimiters included

    I didn't want to read the comments because they would probably come up with good answers and I didn't want to spoil my thoughts before trying something. There are several …
  • Member Avatar for kplcjl
    kplcjl

    Replied To a Post in C++ reverse numbers from array

    Also, in search put a bool in your loop to exit your search when you find the number you are looking for.
  • Member Avatar for kplcjl
    kplcjl

    Replied To a Post in C++ reverse numbers from array

    Andreas, Personally prefer: array2[j++]=array[i]; In your search function you have hardcoded 10. What happens when there are 5 items in the array? What happens when there are 20 and the …
  • Member Avatar for kplcjl
    kplcjl

    Replied To a Post in Squaring an integer with extensions

    One of the nice things C# has is the XML documentation. What's nice about that is that it activates intellisence so you can document it. Renaming the int parameter as …