Erik Porter's Blog

Life and Development at Microsoft and Other Technology Discussions

News

    Quick Tip: Guid Without Dashes

    From watching the MS'ers type code a lot at the Summit, I noticed something interesting I didn't know.

    Guid.ToString(”N”)

    That will return the Guid without any dashes...very interesting...didn't know that...

    Comments

    Adam Kinney said:

    Sweet, thanks for the tip, man.
    # April 9, 2004 8:15 PM

    Jerry Pisk said:

    Doesn't anybody read the documentation?
    # April 9, 2004 8:45 PM

    HumanCompiler said:

    I've never really needed to do that, so why would I read the documentation for that? I just thought it was neat and would share for all the other people that haven't run across it. Did you read the documentation for all of .NET like a manual? :P
    # April 9, 2004 8:49 PM

    Richard Tallent said:

    I *do* read the SDK docs religiously--I don't use VS, so I have to look up methods and properties.

    That said, I have needed this and have never run into this little bit of info. Good tip!
    # April 9, 2004 11:41 PM

    TrackBack said:

    Take Outs for 9 April 2004
    # April 10, 2004 3:21 AM

    HumanCompiler said:

    Glad you enjoyed it. I thought it was pretty neat. I never read the docs unless I have to. I'm a slow reader and learn faster by just playing anyway.

    Yipee, I made Kent's take out list on my birthday :P
    # April 10, 2004 5:20 AM

    TrackBack said:

    # April 26, 2004 8:06 PM

    Waleed Eissa said:

    Just what I was looking for, thanks a lot!

    # July 29, 2008 6:52 AM
    Leave a Comment

    (required) 

    (required) 

    (optional)

    (required)