Page 2 of 2 FirstFirst 12
Results 41 to 42 of 42

Thread: [RESOLVED] How many"k" are in my textboxes

  1. #41
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,419

    Re: How many"k" are in my textboxes

    Quote Originally Posted by Shaggy Hiker View Post
    Some people would call a pun the lowest form of humor

    Some people would call Special K the lowest form of cereal


    Quote Originally Posted by Shaggy Hiker View Post
    When I copied that into my testapp, I found that type inference simply wasn't working in that app, despite using VS2008 targeting the 3.5 framework. Is there something else that I need to set?
    (in properties) Option Infer

  2. #42
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: How many"k" are in my textboxes

    Quote Originally Posted by i00 View Post
    and actually linq is always faster ... except in cases where you need to evaluate the same thing multiple times... such as:
    Better had you said "except in cases where it isn't."

    There have been other posted comparisons in the last two weeks (couldn't find them if I wanted to, though, because I don't even remember what the topic was) where LINQ was beaten by a straight iterative search. LINQ is cool and easy to use. If performance is a question, then testing is the only true answer.

    @.Paul.: Have you even had one of those days when you could look right at something and not see it? I thought I ALWAYS had Option Infer On, but in my test app, it was off. That may have been because the test app was imported from 2005 using the 2.0 framework, which didn't have Option Infer, I think.
    My usual boring signature: Nothing

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width