Click here to Skip to main content
15,926,506 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Arraylist using classes Pin
chrischik5-Dec-05 0:17
chrischik5-Dec-05 0:17 
GeneralRe: Arraylist using classes Pin
Briga5-Dec-05 4:56
Briga5-Dec-05 4:56 
GeneralRe: Arraylist using classes Pin
chrischik6-Dec-05 6:45
chrischik6-Dec-05 6:45 
QuestionScreenshot of a Control Pin
vocaris4-Dec-05 8:59
vocaris4-Dec-05 8:59 
Questionhiiiiiiiiiii Pin
Barakota4-Dec-05 5:11
Barakota4-Dec-05 5:11 
AnswerRe: hiiiiiiiiiii Pin
Colin Angus Mackay4-Dec-05 16:06
Colin Angus Mackay4-Dec-05 16:06 
QuestionAdvantages & Disadvantages of Shared Interface Pin
Vipul Mehta4-Dec-05 2:51
Vipul Mehta4-Dec-05 2:51 
AnswerRe: Advantages & Disadvantages of Shared Interface Pin
Dave Kreskowiak4-Dec-05 5:42
mveDave Kreskowiak4-Dec-05 5:42 
You're a "Software Engineer" and are asking this question? Unsure | :~

There is, essentially, no difference between the memory consuption of methods. In both cases, shared or not, there is only one copy of the method code in memory.

Shared variables, on the other hand, only have a single storage location for all declared instances of that variable. That same variable, not shared, would have a storage location allocated for each declared instance. So, of course, uses more memory.

Properties don't denote a storage location, but are merely accessor code to retrieve or set the value of a variable, shared or otherwise. Again, since this code is kind of a "method" to get at a value, there is only one instance of the code in memory for all declared instances of the property.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionI need to create a windows service Pin
Wilbur J. Pereira4-Dec-05 2:44
Wilbur J. Pereira4-Dec-05 2:44 
AnswerRe: I need to create a windows service Pin
Dave Kreskowiak4-Dec-05 5:19
mveDave Kreskowiak4-Dec-05 5:19 
GeneralRe: I need to create a windows service Pin
Wilbur J. Pereira5-Dec-05 18:22
Wilbur J. Pereira5-Dec-05 18:22 
QuestionAbout mciSendstring VB.Net Pin
JUNEYT4-Dec-05 0:09
JUNEYT4-Dec-05 0:09 
AnswerRe: About mciSendstring VB.Net Pin
Dave Kreskowiak4-Dec-05 5:14
mveDave Kreskowiak4-Dec-05 5:14 
AnswerRe: About mciSendstring VB.Net Pin
progload4-Dec-05 6:02
progload4-Dec-05 6:02 
QuestionHow to make Filesystemwhatcher monitor Network drives? Pin
Zenly3-Dec-05 15:46
Zenly3-Dec-05 15:46 
AnswerRe: How to make Filesystemwhatcher monitor Network drives? Pin
Dave Kreskowiak3-Dec-05 16:45
mveDave Kreskowiak3-Dec-05 16:45 
GeneralRe: How to make Filesystemwhatcher monitor Network drives? Pin
Zenly3-Dec-05 18:46
Zenly3-Dec-05 18:46 
GeneralRe: How to make Filesystemwhatcher monitor Network drives? Pin
Dave Kreskowiak4-Dec-05 5:08
mveDave Kreskowiak4-Dec-05 5:08 
GeneralRe: How to make Filesystemwhatcher monitor Network drives? Pin
Zenly7-Dec-05 11:19
Zenly7-Dec-05 11:19 
QuestionVideo Compression Pin
greenai3-Dec-05 11:38
greenai3-Dec-05 11:38 
AnswerRe: Video Compression Pin
Dave Kreskowiak3-Dec-05 16:38
mveDave Kreskowiak3-Dec-05 16:38 
Questionvb.net 2005 DataBinding to controls Pin
Taen_Karth3-Dec-05 11:05
Taen_Karth3-Dec-05 11:05 
AnswerRe: vb.net 2005 DataBinding to controls Pin
dptalt5-Dec-05 2:18
dptalt5-Dec-05 2:18 
GeneralRe: vb.net 2005 DataBinding to controls Pin
Taen_Karth5-Dec-05 12:26
Taen_Karth5-Dec-05 12:26 
GeneralRe: vb.net 2005 DataBinding to controls Pin
dptalt6-Dec-05 2:14
dptalt6-Dec-05 2:14 

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.