Click here to Skip to main content
15,914,642 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
SuggestionRe: Code correction Pin
ZurdoDev27-Feb-14 10:55
professionalZurdoDev27-Feb-14 10:55 
Questionincorrect syntax near the keyword select. Pin
Member 1050621524-Feb-14 23:30
Member 1050621524-Feb-14 23:30 
AnswerRe: incorrect syntax near the keyword select. Pin
thatraja24-Feb-14 23:46
professionalthatraja24-Feb-14 23:46 
AnswerRe: incorrect syntax near the keyword select. Pin
Nicholas Marty24-Feb-14 23:49
professionalNicholas Marty24-Feb-14 23:49 
AnswerRe: incorrect syntax near the keyword select. Pin
Dave Kreskowiak25-Feb-14 1:32
mveDave Kreskowiak25-Feb-14 1:32 
AnswerRe: incorrect syntax near the keyword select. Pin
Member 1062430625-Feb-14 3:42
Member 1062430625-Feb-14 3:42 
GeneralRe: incorrect syntax near the keyword select. Pin
Dave Kreskowiak25-Feb-14 7:09
mveDave Kreskowiak25-Feb-14 7:09 
GeneralRe: incorrect syntax near the keyword select. Pin
Member 1050621525-Feb-14 23:15
Member 1050621525-Feb-14 23:15 
QuestionReplace Tags in MSWorld Pin
byka24-Feb-14 8:16
byka24-Feb-14 8:16 
AnswerRe: Replace Tags in MSWorld Pin
Richard Andrew x6424-Feb-14 9:23
professionalRichard Andrew x6424-Feb-14 9:23 
Questionmultiple records in crystal report visual basic 2010 Pin
Member 1050621521-Feb-14 3:33
Member 1050621521-Feb-14 3:33 
QuestionRe: multiple records in crystal report visual basic 2010 Pin
Eddy Vluggen21-Feb-14 6:46
professionalEddy Vluggen21-Feb-14 6:46 
AnswerRe: multiple records in crystal report visual basic 2010 Pin
Member 1050621524-Feb-14 0:29
Member 1050621524-Feb-14 0:29 
GeneralRe: multiple records in crystal report visual basic 2010 Pin
Eddy Vluggen24-Feb-14 8:25
professionalEddy Vluggen24-Feb-14 8:25 
GeneralRe: multiple records in crystal report visual basic 2010 Pin
Member 1050621524-Feb-14 22:11
Member 1050621524-Feb-14 22:11 
AnswerRe: multiple records in crystal report visual basic 2010 Pin
thatraja24-Feb-14 22:41
professionalthatraja24-Feb-14 22:41 
GeneralRe: multiple records in crystal report visual basic 2010 Pin
Member 1050621524-Feb-14 23:28
Member 1050621524-Feb-14 23:28 
GeneralRe: multiple records in crystal report visual basic 2010 Pin
thatraja24-Feb-14 23:40
professionalthatraja24-Feb-14 23:40 
QuestionVB.Net Text Encoding Pin
Member 1061435020-Feb-14 23:00
Member 1061435020-Feb-14 23:00 
AnswerRe: VB.Net Text Encoding Pin
Richard MacCutchan21-Feb-14 0:36
mveRichard MacCutchan21-Feb-14 0:36 
AnswerRe: VB.Net Text Encoding Pin
Eddy Vluggen21-Feb-14 21:06
professionalEddy Vluggen21-Feb-14 21:06 
QuestionMemory utilization of MemoryStream Pin
elix54520-Feb-14 9:18
elix54520-Feb-14 9:18 
AnswerRe: Memory utilization of MemoryStream Pin
Pete O'Hanlon20-Feb-14 9:35
mvePete O'Hanlon20-Feb-14 9:35 
AnswerRe: Memory utilization of MemoryStream Pin
Dave Kreskowiak20-Feb-14 9:36
mveDave Kreskowiak20-Feb-14 9:36 
That's how much memory the MemoryStream has set aside for use. Since you didn't specify a capacity, it starts off with 256 bytes by default. As the stream is used and the current capacity is exceeded, it reallocates it's internal buffer and sets a new size larger than the current capacity. That new size is always twice the last size it used.

Arrays in .NET are immutable. Once created, you cannot change the size of an array. That limitation applies to everything in the .NET Framework, including the buffer used by MemoryStream. In order to increase the size, a new array of some size must be created and all the elements of the previous array copied to it, then the previous array is destroyed.

GeneralRe: Memory utilization of MemoryStream Pin
elix54520-Feb-14 10:08
elix54520-Feb-14 10:08 

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.