Archive for April 22nd, 2009
.Net String Pool – Not Just For The Compiler
On Monday, I was corrected in my assertion that creating multiple empty strings would create multiple objects. Turns out the compiler automatically puts all of the strings that are exactly the same in a “string pool” so that there is only ever one empty string in the entire application you’ve created.
Duh! I should have known this, or at least I should have expected that this was so since it has been true with every other compiled language I’ve worked with.
But what I didn’t know and couldn’t expect is that we can make use of this string pool programmatically as well.
Other Related Items:
TV Land Presents: Favorite Tv Theme SongsTV Land brings you 40 of your favorite evening show theme songs. Highlights include 'Happy Days', 'The Greatest American Hero', 'Dukes Of Hazzard (G... Read More >
Air Vent #52609 12" Intern Turbine/Base12" Internally Brace With Base Wind Turbine, Black, Ventilates Based On Wind, 345 CFM At 5 MPH Winds, 544 CFM At 8 MPH Winds & 969 CFM At 15 MPH Winds.
Park and Sun Sports Spectrum 179 Volleyball SetThe Park and Sun Sports TS-179 Spectrum 179 Tournament Level Volleyball Net System offers great performance and is a snap for quick set-up and portabi... Read More >

