Working with Strings - Day 2 - Part 1

Sign in to queue

The Discussion

  • User profile image
    Mintydog

    Good video, but ctrl + . does nothing for me after I type stringBuilder. Did I do something wrong? I did it immediately after I typed it.

    Edit: I found it, I didnt have a capital S at the start. Doh!

  • User profile image
    James O'Neill

    I'd recommend Kathy Kam's .NET format string 101 on her MSDN blog as a reference.

  • User profile image
    Clint

    @Mintydog: a nice little trick you can do is control + space and intellisense will help correct that for you! 

  • User profile image
    Michael

    Is there any reason why mine didn't put commas and decimal places into the number sequence or the $ sign? Where can I change that?

  • User profile image
    Clint

    @Michael: can you paste your line of code that does the string.format?  That would help me figure out what happened.

  • User profile image
    haibo

    the "control + ." key never works for me. i spent 10 minuts to try and nothing happened.
    what is going on in this program?

  • User profile image
    haibo

    here is my code.
    StringBuilder
     
    [quote]

    Dec 31, 2010 at 5:01 PM, Clint wrote
    @Michael: can you paste your line of code that does the string.format?  That would help me figure out what happened.
    [/quote]

Add Your 2 Cents