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

.NET (Core and Framework)

 
GeneralRe: A couple of questions on .NET 3.0 Pin
Mike Dimmick6-Aug-06 23:21
Mike Dimmick6-Aug-06 23:21 
GeneralRe: A couple of questions on .NET 3.0 Pin
Josh Smith8-Aug-06 7:51
Josh Smith8-Aug-06 7:51 
QuestionHow DESIGN PATTERNS are applied into .NET Framework ,especially in C# BCLs?? [modified] Pin
Raihan Masud6-Aug-06 2:21
Raihan Masud6-Aug-06 2:21 
AnswerRe: How DESIGN PATTERNS are applied into .NET Framework ,especially in C# BCLs?? Pin
Dave Kreskowiak6-Aug-06 3:36
mveDave Kreskowiak6-Aug-06 3:36 
Questionreset a memorystream Pin
thebread5-Aug-06 12:18
thebread5-Aug-06 12:18 
AnswerRe: reset a memorystream Pin
Guffa5-Aug-06 13:15
Guffa5-Aug-06 13:15 
GeneralRe: reset a memorystream Pin
thebread5-Aug-06 13:22
thebread5-Aug-06 13:22 
AnswerRe: reset a memorystream Pin
Guffa5-Aug-06 14:14
Guffa5-Aug-06 14:14 
That depends. Setting the length to 0 should probably be faster than creating a new one, but the speed of that single action is not all that affects the speed of your application. A MemoryStream that is reset will probably handle memory allocations differently from a newly created one. I know too little about that difference, and especially too little about what your application is doing, to advice you in either direction.

Don't do premature omtimization. You should always avoid anti-patterns (known bad solutions), but specific optimization should generally be put off until you know where and why you need it.


---
b { font-weight: normal; }

GeneralRe: reset a memorystream Pin
thebread5-Aug-06 23:15
thebread5-Aug-06 23:15 
Questionhow can i create a License for my applications Pin
keroed_edmond5-Aug-06 8:29
keroed_edmond5-Aug-06 8:29 
AnswerRe: how can i create a License for my applications Pin
Christian Graus5-Aug-06 14:41
protectorChristian Graus5-Aug-06 14:41 
GeneralRe: how can i create a License for my applications Pin
keroed_edmond5-Aug-06 18:46
keroed_edmond5-Aug-06 18:46 
GeneralRe: how can i create a License for my applications Pin
Christian Graus6-Aug-06 0:24
protectorChristian Graus6-Aug-06 0:24 
QuestionPackaging .NET 1.1 Windows service and web application Pin
abcxyz824-Aug-06 6:52
abcxyz824-Aug-06 6:52 
QuestionSending raw packet ? Pin
Ariston Darmayuda4-Aug-06 6:43
Ariston Darmayuda4-Aug-06 6:43 
QuestionProblems with DataGridView control Pin
amdopteron4-Aug-06 1:21
amdopteron4-Aug-06 1:21 
AnswerRe: Problems with DataGridView control Pin
Stephen McGuire4-Aug-06 3:25
Stephen McGuire4-Aug-06 3:25 
AnswerRe: Problems with DataGridView control Pin
Robert Rohde4-Aug-06 4:19
Robert Rohde4-Aug-06 4:19 
QuestionListbox Pin
hurux3-Aug-06 22:43
hurux3-Aug-06 22:43 
AnswerRe: Listbox Pin
Christian Graus5-Aug-06 14:44
protectorChristian Graus5-Aug-06 14:44 
QuestionWSE 3.0 Pin
Kanjinghat3-Aug-06 20:37
Kanjinghat3-Aug-06 20:37 
AnswerRe: WSE 3.0 Pin
Rob Graham4-Aug-06 5:32
Rob Graham4-Aug-06 5:32 
QuestionHelix SDK 10 and .NET Pin
Vineet Rajan3-Aug-06 18:29
Vineet Rajan3-Aug-06 18:29 
AnswerRe: Helix SDK 10 and .NET [modified] Pin
Dave Kreskowiak4-Aug-06 2:59
mveDave Kreskowiak4-Aug-06 2:59 
QuestionShared solution VS.NET Pin
NET_GEEK3-Aug-06 9:21
NET_GEEK3-Aug-06 9:21 

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.