Click here to Skip to main content
15,899,937 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to invoke function from a dll? Pin
Rick Shaub12-Jan-10 4:06
Rick Shaub12-Jan-10 4:06 
GeneralRe: How to invoke function from a dll? Pin
城市浪子13-Jan-10 16:54
城市浪子13-Jan-10 16:54 
GeneralRe: How to invoke function from a dll? [modified] Pin
Rick Shaub14-Jan-10 2:51
Rick Shaub14-Jan-10 2:51 
GeneralRe: How to invoke function from a dll? Pin
城市浪子19-Jan-10 17:53
城市浪子19-Jan-10 17:53 
AnswerRe: How to invoke function from a dll? Pin
April Fans12-Jan-10 16:47
April Fans12-Jan-10 16:47 
QuestionOpen folder with file selected Pin
Kim061811-Jan-10 18:20
Kim061811-Jan-10 18:20 
AnswerRe: Open folder with file selected Pin
Alan N12-Jan-10 2:22
Alan N12-Jan-10 2:22 
AnswerRe: Open folder with file selected Pin
carlecomm12-Jan-10 19:31
carlecomm12-Jan-10 19:31 
QuestionRefresh comboxbox in form1 after form2 is closed Pin
misCafe11-Jan-10 17:36
misCafe11-Jan-10 17:36 
AnswerRe: Refresh comboxbox in form1 after form2 is closed Pin
Kubajzz11-Jan-10 18:05
Kubajzz11-Jan-10 18:05 
GeneralRe: Refresh comboxbox in form1 after form2 is closed Pin
misCafe11-Jan-10 19:06
misCafe11-Jan-10 19:06 
GeneralRe: Refresh comboxbox in form1 after form2 is closed Pin
Kubajzz11-Jan-10 19:13
Kubajzz11-Jan-10 19:13 
GeneralRe: Refresh comboxbox in form1 after form2 is closed Pin
misCafe11-Jan-10 19:41
misCafe11-Jan-10 19:41 
GeneralRe: Refresh comboxbox in form1 after form2 is closed Pin
<<Tash18>>11-Jan-10 21:24
<<Tash18>>11-Jan-10 21:24 
GeneralRe: Refresh comboxbox in form1 after form2 is closed Pin
Rajeshwari Laxmanan30-Mar-10 21:34
Rajeshwari Laxmanan30-Mar-10 21:34 
QuestionFormBorderStyle problem Pin
roshihans11-Jan-10 17:21
roshihans11-Jan-10 17:21 
QuestionIcon Transparency When Working With PictureBox Control... Pin
Thomas Kemper11-Jan-10 13:20
Thomas Kemper11-Jan-10 13:20 
AnswerRe: Icon Transparency When Working With PictureBox Control... Pin
Tsuda Kageyu19-May-10 0:15
Tsuda Kageyu19-May-10 0:15 
QuestionByte Array Pin
o m n i11-Jan-10 12:36
o m n i11-Jan-10 12:36 
AnswerRe: Byte Array Pin
Luc Pattyn11-Jan-10 12:45
sitebuilderLuc Pattyn11-Jan-10 12:45 
AnswerRe: Byte Array Pin
DaveyM6911-Jan-10 14:01
professionalDaveyM6911-Jan-10 14:01 
AnswerRe: Byte Array Pin
Rick Shaub11-Jan-10 15:18
Rick Shaub11-Jan-10 15:18 
AnswerRe: Byte Array Pin
AspDotNetDev11-Jan-10 18:14
protectorAspDotNetDev11-Jan-10 18:14 
If you really must use an array, then the others have already given you perfectly reasonable options. However, you could also create a new data structure that is like a list but that you can remove items from both sides without a speed penalty.

A list works by internally storing an array and removing/adding elements near the end of the array as needed. If you remove items from the beginning of a list, all the rest of the items will have to be shifted to the beginning to get rid of those empty elements. However, your class (DoubleSidedList?) could just keep the values near the center of the array. That way, you could trim or add to either side without worrying about speed problems when expanding or contracting either side of the collection.

Naturally, this would incur a small performance penalty due to wrapping an array in a collection type.


AnswerRe: Byte Array Pin
April Fans12-Jan-10 19:19
April Fans12-Jan-10 19:19 
QuestionC# Code To Start A Skype Call Pin
Kevin Marois11-Jan-10 12:28
professionalKevin Marois11-Jan-10 12:28 

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.