On 8/8/07, Nassar, Anthony <[EMAIL PROTECTED]> wrote:
>
> This example *is* unrealistic, but it shows up again and again in
> tutorials. If you're calling Console.WriteLine all the time (say, in a
> console app), is the supposed expense of boxing really a problem?


Indeed.  I think it's safe to assume that both the conversion from integer
to string and the subsequent IO operation are considerably more expensive
than boxing.

--
Curt Hagenlocher
[EMAIL PROTECTED]

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to