W
Wael
Hi there,
I have some varient questions, and sorry in advance for my novicity..
A- I once had a situation where I had to use an integer type as key in a
hashtable. I knew that would involve boxing. The software engineer at my
office adviced me to solve this by using (int.ToString()) caliming that
would eliminate the boxing under the hood. Is that true?
B- I read once about generics coming in the next .Net version. Are they
going to be optimized for value-typed collections as well?
C- If i have 2 applications referencing the same dll. How can I prevent the
dll from being reloaded for each application? Can it be reusable from
multiple applications? Can I control this usability behavior for each
application? Please I need detailed explanations, if there are articles out
there that would be great. I already read about domain neutral assemblies
but can't get it understood.
D- What about static variables, if I had the same assembly loaded for both
applications? Can I control that behavior, too?
I hope I made myself clear...
I have some varient questions, and sorry in advance for my novicity..
A- I once had a situation where I had to use an integer type as key in a
hashtable. I knew that would involve boxing. The software engineer at my
office adviced me to solve this by using (int.ToString()) caliming that
would eliminate the boxing under the hood. Is that true?
B- I read once about generics coming in the next .Net version. Are they
going to be optimized for value-typed collections as well?
C- If i have 2 applications referencing the same dll. How can I prevent the
dll from being reloaded for each application? Can it be reusable from
multiple applications? Can I control this usability behavior for each
application? Please I need detailed explanations, if there are articles out
there that would be great. I already read about domain neutral assemblies
but can't get it understood.
D- What about static variables, if I had the same assembly loaded for both
applications? Can I control that behavior, too?
I hope I made myself clear...