Newbie: Trying to figure out library's behavior.

  • Thread starter Thread starter Daniel Passwater via DotNetMonster.com
  • Start date Start date
D

Daniel Passwater via DotNetMonster.com

If I hard code something in a comm library, such as load an array, when I use the dll will the value be there?
 
Daniel,

By there, I assume you mean on the heap? Yes, it will be there,
assuming that something has a reference to it. The way that you would
access something like this typically would be through a static member of
some sort. This way, anything that references the assembly can access the
member, assuming the visibility is set appropriately.

Hope this helps.
 
Back
Top