Click here to Skip to main content
15,905,028 members
Home / Discussions / C#
   

C#

 
AnswerRe: show the number and name of file being copied Pin
Abhijit Jana15-Dec-09 19:43
professionalAbhijit Jana15-Dec-09 19:43 
QuestionFluid Layout By Custom Polygon Shapes Pin
Som Shekhar15-Dec-09 18:33
Som Shekhar15-Dec-09 18:33 
AnswerRe: Fluid Layout By Custom Polygon Shapes Pin
Saksida Bojan15-Dec-09 20:26
Saksida Bojan15-Dec-09 20:26 
GeneralRe: Fluid Layout By Custom Polygon Shapes Pin
Som Shekhar15-Dec-09 20:28
Som Shekhar15-Dec-09 20:28 
QuestionHow to count Array Numbers? Pin
DevonDaDude15-Dec-09 18:25
DevonDaDude15-Dec-09 18:25 
AnswerRe: How to count Array Numbers? Pin
Abhinav S15-Dec-09 19:24
Abhinav S15-Dec-09 19:24 
GeneralRe: How to count Array Numbers? Pin
jb060816-Dec-09 0:05
jb060816-Dec-09 0:05 
GeneralRe: How to count Array Numbers? Pin
OriginalGriff16-Dec-09 1:20
mveOriginalGriff16-Dec-09 1:20 
Whether that is a good idea or not depends on what kind of data you are going to get. If the data is an int (i.e. a 32 bit number), then declaring an array to hold it is a little excessive. Likewise, if the data is likely to be "clumpy" with many values below 1000, and many above 30000, but few in between, then an array is unlikely to be efficient.
Additionally, you will need to provide checking to ensure you will not exceed the arry blounds. Extending an array is very inefficient, as the entire array has to be copied to a new, bigger, array.
If you do not know what data you will recieve, then a Dictionary is likely to be a better solution.

All those who believe in psycho kinesis, raise my hand.

GeneralRe: How to count Array Numbers? Pin
jb060816-Dec-09 1:38
jb060816-Dec-09 1:38 
AnswerRe: How to count Array Numbers? Pin
#realJSOP16-Dec-09 2:58
professional#realJSOP16-Dec-09 2:58 
AnswerRe: How to count Array Numbers? Pin
Mirko198016-Dec-09 3:59
Mirko198016-Dec-09 3:59 
Questionhow to check which ports are available? Pin
aniarun15-Dec-09 15:58
aniarun15-Dec-09 15:58 
AnswerRe: how to check which ports are available? Pin
_Maxxx_15-Dec-09 16:37
professional_Maxxx_15-Dec-09 16:37 
AnswerRe: how to check which ports are available? Pin
#realJSOP16-Dec-09 2:58
professional#realJSOP16-Dec-09 2:58 
GeneralRe: how to check which ports are available? Pin
aniarun16-Dec-09 12:42
aniarun16-Dec-09 12:42 
QuestionUsing OCX control in C# Pin
vhassan15-Dec-09 15:43
vhassan15-Dec-09 15:43 
AnswerRe: Using OCX control in C# Pin
N a v a n e e t h15-Dec-09 16:25
N a v a n e e t h15-Dec-09 16:25 
AnswerRe: Using OCX control in C# Pin
Abhinav S15-Dec-09 17:31
Abhinav S15-Dec-09 17:31 
GeneralRe: Using OCX control in C# Pin
ali- kanju216-Dec-09 0:47
ali- kanju216-Dec-09 0:47 
Questionwriting data in c# Pin
aniarun15-Dec-09 15:16
aniarun15-Dec-09 15:16 
AnswerRe: writing data in c# Pin
Dr.Walt Fair, PE15-Dec-09 16:48
professionalDr.Walt Fair, PE15-Dec-09 16:48 
Questionseparate PDFs from the report Pin
Jassim Rahma15-Dec-09 12:24
Jassim Rahma15-Dec-09 12:24 
Questiondatagridview Pin
farokhian15-Dec-09 10:16
farokhian15-Dec-09 10:16 
AnswerRe: datagridview Pin
Dr.Walt Fair, PE15-Dec-09 10:28
professionalDr.Walt Fair, PE15-Dec-09 10:28 
GeneralRe: datagridview Pin
farokhian15-Dec-09 19:54
farokhian15-Dec-09 19:54 

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.