Click here to Skip to main content
15,886,110 members
Home / Discussions / C#
   

C#

 
AnswerRe: Printing on a Pre-Printed Form Pin
Nader Elshehabi4-Jul-08 23:54
Nader Elshehabi4-Jul-08 23:54 
GeneralRe: Printing on a Pre-Printed Form Pin
Ian Uy5-Jul-08 3:32
Ian Uy5-Jul-08 3:32 
QuestionHow much memory do uninitialized array take up? Pin
gigahertz2054-Jul-08 14:48
gigahertz2054-Jul-08 14:48 
AnswerRe: How much memory do uninitialized array take up? [modified] Pin
Luc Pattyn4-Jul-08 15:13
sitebuilderLuc Pattyn4-Jul-08 15:13 
GeneralRe: How much memory do uninitialized array take up? Pin
N a v a n e e t h4-Jul-08 16:27
N a v a n e e t h4-Jul-08 16:27 
GeneralRe: How much memory do uninitialized array take up? Pin
Luc Pattyn4-Jul-08 16:34
sitebuilderLuc Pattyn4-Jul-08 16:34 
GeneralRe: How much memory do uninitialized array take up? Pin
N a v a n e e t h4-Jul-08 16:42
N a v a n e e t h4-Jul-08 16:42 
AnswerRe: How much memory do uninitialized array take up? Pin
N a v a n e e t h4-Jul-08 16:35
N a v a n e e t h4-Jul-08 16:35 
Array types are reference types even the element type is a value type. So int[] numbers would take 4KB of memory and will be kept on managed heap.

gigahertz205 wrote:
Do uninitialized value types take space too?


Yes. There is nothing like uninitialized value type. Value types always will have a default value. So it takes space needed for keeping that value.

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

GeneralRe: How much memory do uninitialized array take up? Pin
Luc Pattyn4-Jul-08 16:44
sitebuilderLuc Pattyn4-Jul-08 16:44 
GeneralRe: How much memory do uninitialized array take up? Pin
N a v a n e e t h4-Jul-08 16:47
N a v a n e e t h4-Jul-08 16:47 
GeneralRe: How much memory do uninitialized array take up? Pin
Guffa5-Jul-08 4:00
Guffa5-Jul-08 4:00 
GeneralRe: How much memory do uninitialized array take up? Pin
N a v a n e e t h5-Jul-08 16:33
N a v a n e e t h5-Jul-08 16:33 
AnswerRe: How much memory do uninitialized array take up? Pin
Guffa5-Jul-08 3:55
Guffa5-Jul-08 3:55 
Questionhow to enable wave out mixer or stero mixer option using c# Pin
theredonion4-Jul-08 10:49
theredonion4-Jul-08 10:49 
QuestionEncrypted string changed when Serialized [modified] Pin
DaveyM694-Jul-08 10:03
professionalDaveyM694-Jul-08 10:03 
AnswerRe: Encrypted string changed when Serialized Pin
Guffa4-Jul-08 12:28
Guffa4-Jul-08 12:28 
GeneralRe: Encrypted string in dictionary Pin
DaveyM694-Jul-08 22:03
professionalDaveyM694-Jul-08 22:03 
GeneralRe: Encrypted string in dictionary Pin
DaveyM694-Jul-08 22:07
professionalDaveyM694-Jul-08 22:07 
QuestionWeb service and multithreading Pin
Le centriste4-Jul-08 9:02
Le centriste4-Jul-08 9:02 
AnswerRe: Web service and multithreading Pin
DaveyM694-Jul-08 10:09
professionalDaveyM694-Jul-08 10:09 
GeneralRe: Web service and multithreading Pin
Le centriste7-Jul-08 5:46
Le centriste7-Jul-08 5:46 
AnswerRe: Web service and multithreading Pin
N a v a n e e t h4-Jul-08 18:07
N a v a n e e t h4-Jul-08 18:07 
AnswerRe: Web service and multithreading Pin
leppie4-Jul-08 18:22
leppie4-Jul-08 18:22 
GeneralRe: Web service and multithreading Pin
Le centriste7-Jul-08 6:06
Le centriste7-Jul-08 6:06 
Questionstring equal Pin
netJP12L4-Jul-08 8:41
netJP12L4-Jul-08 8:41 

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.