Click here to Skip to main content
15,888,286 members
Home / Discussions / C#
   

C#

 
GeneralRe: Listen till they arrived Pin
Pete O'Hanlon14-Aug-08 2:02
mvePete O'Hanlon14-Aug-08 2:02 
AnswerRe: Listen till they arrived Pin
vikas amin14-Aug-08 9:36
vikas amin14-Aug-08 9:36 
QuestionUsing Microsoft.Office.Interop.Excel Pin
Suj_7813-Aug-08 23:03
Suj_7813-Aug-08 23:03 
QuestionEscaping Quotes Pin
maliary13-Aug-08 22:57
maliary13-Aug-08 22:57 
AnswerRe: Escaping Quotes Pin
dipak.dipak13-Aug-08 23:21
dipak.dipak13-Aug-08 23:21 
AnswerRe: Escaping Quotes Pin
PIEBALDconsult14-Aug-08 3:46
mvePIEBALDconsult14-Aug-08 3:46 
QuestionCalculating memory size utilized by each object Pin
N a v a n e e t h13-Aug-08 22:41
N a v a n e e t h13-Aug-08 22:41 
AnswerRe: Calculating memory size utilized by each object Pin
Mark Churchill13-Aug-08 23:20
Mark Churchill13-Aug-08 23:20 
Its a bit more complex. The variable sample is taking up stack space (and I believe theres more than just a 32bit pointer - I'm too lazy to read the docs atm).

The instance is stored on the heap, but again theres probably overhead on top of those 24 bytes.

If memory usage is an issue in your app I suggest you run a profiler over it. I think Redgate advertises here, otherwise the one from Jetbrains is an acceptable alternative.


GeneralRe: Calculating memory size utilized by each object Pin
N a v a n e e t h13-Aug-08 23:39
N a v a n e e t h13-Aug-08 23:39 
GeneralRe: Calculating memory size utilized by each object Pin
leppie14-Aug-08 0:02
leppie14-Aug-08 0:02 
GeneralRe: Calculating memory size utilized by each object Pin
N a v a n e e t h14-Aug-08 0:12
N a v a n e e t h14-Aug-08 0:12 
GeneralRe: Calculating memory size utilized by each object Pin
Mark Churchill14-Aug-08 1:11
Mark Churchill14-Aug-08 1:11 
AnswerRe: Calculating memory size utilized by each object Pin
leppie14-Aug-08 3:21
leppie14-Aug-08 3:21 
QuestionChanging the name of a solution Pin
Dewald13-Aug-08 22:39
Dewald13-Aug-08 22:39 
AnswerRe: Changing the name of a solution Pin
Christian Graus13-Aug-08 22:48
protectorChristian Graus13-Aug-08 22:48 
GeneralRe: Changing the name of a solution Pin
Dewald14-Aug-08 1:59
Dewald14-Aug-08 1:59 
QuestionSound Frequency Pin
jonhbt13-Aug-08 22:25
jonhbt13-Aug-08 22:25 
AnswerRe: Sound Frequency Pin
Mark Churchill13-Aug-08 22:56
Mark Churchill13-Aug-08 22:56 
QuestionRe: Sound Frequency Pin
jonhbt14-Aug-08 0:07
jonhbt14-Aug-08 0:07 
AnswerRe: Sound Frequency Pin
Mark Churchill14-Aug-08 1:23
Mark Churchill14-Aug-08 1:23 
AnswerRe: Sound Frequency Pin
blackjack215014-Aug-08 2:17
blackjack215014-Aug-08 2:17 
QuestionProject templates Pin
V.13-Aug-08 21:21
professionalV.13-Aug-08 21:21 
AnswerRe: Project templates Pin
John_Adams13-Aug-08 21:27
John_Adams13-Aug-08 21:27 
QuestionHow to control MS Picture Manager from a C# application? Pin
Athrun.Du13-Aug-08 20:29
Athrun.Du13-Aug-08 20:29 
AnswerRe: How to control MS Picture Manager from a C# application? Pin
Christian Graus13-Aug-08 20:53
protectorChristian Graus13-Aug-08 20:53 

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.