Click here to Skip to main content
16,005,467 members
Home / Discussions / C#
   

C#

 
GeneralRe: Singleton instances survive garbage collection? Pin
leppie3-Aug-04 7:58
leppie3-Aug-04 7:58 
GeneralRe: Singleton instances survive garbage collection? Pin
mindfuck3-Aug-04 8:44
mindfuck3-Aug-04 8:44 
GeneralRe: Singleton instances survive garbage collection? Pin
Nick Parker3-Aug-04 8:36
protectorNick Parker3-Aug-04 8:36 
GeneralRe: Singleton instances survive garbage collection? Pin
mindfuck3-Aug-04 22:55
mindfuck3-Aug-04 22:55 
GeneralRe: Singleton instances survive garbage collection? Pin
Nick Parker4-Aug-04 3:18
protectorNick Parker4-Aug-04 3:18 
GeneralRe: Singleton instances survive garbage collection? Pin
Heath Stewart4-Aug-04 4:19
protectorHeath Stewart4-Aug-04 4:19 
GeneralCaching with static functions Pin
Cody Caillet3-Aug-04 4:10
sussCody Caillet3-Aug-04 4:10 
GeneralRe: Caching with static functions Pin
Nick Parker3-Aug-04 8:45
protectorNick Parker3-Aug-04 8:45 
Cody Caillet wrote:
The functions must stay static and the caching implementation has to occur at the assembly level (i.e. not at the calling object level).

It would still have to happen within a class within the assembly, otherwise you are not making yourself clear. I am not sure what part of this you are unclear on, could you be more specific? There is nothing keeping you from writing a class that has a static method which will store values. If you want you can use a timer to control when it reloads it's information. If you could define exactly how you want to store this information in memory that would be helpful. Are you reading an XML document, flat file or something else?

- Nick Parker
My Blog | My Articles

GeneralMdiChildren memory release Pin
gena173-Aug-04 3:51
gena173-Aug-04 3:51 
GeneralRe: MdiChildren memory release Pin
Tom Larsen3-Aug-04 6:08
Tom Larsen3-Aug-04 6:08 
GeneralRe: MdiChildren memory release Pin
gena173-Aug-04 20:47
gena173-Aug-04 20:47 
GeneralInsertng Flash MX in C#.net Pin
Mehbub3-Aug-04 3:15
Mehbub3-Aug-04 3:15 
GeneralRe: Insertng Flash MX in C#.net Pin
Nick Parker3-Aug-04 3:54
protectorNick Parker3-Aug-04 3:54 
GeneralCombobox problem Pin
Fule3-Aug-04 3:01
Fule3-Aug-04 3:01 
GeneralRe: Combobox problem Pin
DougW483-Aug-04 4:55
DougW483-Aug-04 4:55 
GeneralRe: Combobox problem Pin
Fule3-Aug-04 20:17
Fule3-Aug-04 20:17 
GeneralColumns width in ListView objects Pin
ma.poggi-cons3-Aug-04 2:30
ma.poggi-cons3-Aug-04 2:30 
GeneralRe: Columns width in ListView objects Pin
Werdna3-Aug-04 12:53
Werdna3-Aug-04 12:53 
GeneralLength of audiofile Pin
Member 8094093-Aug-04 1:51
Member 8094093-Aug-04 1:51 
GeneralWorks with some files Pin
Member 8094093-Aug-04 2:18
Member 8094093-Aug-04 2:18 
GeneralRe: Length of audiofile Pin
leppie3-Aug-04 2:19
leppie3-Aug-04 2:19 
General.net server help to connect to mobile Pin
Member 7396273-Aug-04 1:35
Member 7396273-Aug-04 1:35 
Generaldrawing with graphics Pin
blankg3-Aug-04 1:04
blankg3-Aug-04 1:04 
GeneralRe: drawing with graphics Pin
Dave Kreskowiak3-Aug-04 6:05
mveDave Kreskowiak3-Aug-04 6:05 
GeneralRe: drawing with graphics Pin
Dave Kreskowiak3-Aug-04 6:03
mveDave Kreskowiak3-Aug-04 6:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.