Tech Off Post

Single Post Permalink

View Thread: is 'new object().property' or 'new object().method()' a good idea?
  • User profile image
    Minh

    If new String("Bob") could not be created, then an exception would be thrown, would it not?

    Then .Length would never be called.

    Also, you worry too much.