Click here to Skip to main content
15,920,956 members
Home / Discussions / C#
   

C#

 
AnswerRe: question about arrays Pin
Kevin McFarlane19-May-06 5:20
Kevin McFarlane19-May-06 5:20 
GeneralRe: question about arrays Pin
donkaiser19-May-06 5:22
donkaiser19-May-06 5:22 
GeneralRe: question about arrays Pin
J4amieC19-May-06 5:23
J4amieC19-May-06 5:23 
GeneralRe: question about arrays Pin
Josh Smith19-May-06 5:23
Josh Smith19-May-06 5:23 
GeneralRe: question about arrays Pin
donkaiser19-May-06 6:03
donkaiser19-May-06 6:03 
GeneralRe: question about arrays Pin
Josh Smith19-May-06 7:09
Josh Smith19-May-06 7:09 
GeneralRe: question about arrays Pin
leppie19-May-06 7:10
leppie19-May-06 7:10 
AnswerRe: question about arrays Pin
J4amieC19-May-06 5:22
J4amieC19-May-06 5:22 
In answer to both questions, when you need to work with arrays dynamically, use collections (or in .NET2 List<> ).

The reasons

1) Collections can be cleared with a .Clear() method
2) Collections allow dynamically adding (.Add(value)) and inserting (.Insert(index,value)) new items.



Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour

GeneralRe: question about arrays Pin
donkaiser19-May-06 5:26
donkaiser19-May-06 5:26 
AnswerRe: question about arrays Pin
donkaiser22-May-06 8:00
donkaiser22-May-06 8:00 
QuestionUrgent: Type casting String Property to String type Pin
kumar.bs19-May-06 4:47
kumar.bs19-May-06 4:47 
AnswerRe: Urgent: Type casting String Property to String type Pin
Josh Smith19-May-06 5:01
Josh Smith19-May-06 5:01 
AnswerRe: Urgent: Type casting String Property to String type Pin
kumar.bs19-May-06 5:06
kumar.bs19-May-06 5:06 
GeneralRe: Urgent: Type casting String Property to String type Pin
Josh Smith19-May-06 5:22
Josh Smith19-May-06 5:22 
GeneralRe: Urgent: Type casting String Property to String type Pin
leppie19-May-06 5:55
leppie19-May-06 5:55 
GeneralRe: Urgent: Type casting String Property to String type Pin
Josh Smith19-May-06 7:04
Josh Smith19-May-06 7:04 
QuestionFileSystemEventHandler arguments question. Pin
aquacadet19-May-06 4:46
aquacadet19-May-06 4:46 
AnswerRe: FileSystemEventHandler arguments question. Pin
Josh Smith19-May-06 4:59
Josh Smith19-May-06 4:59 
AnswerRe: FileSystemEventHandler arguments question. Pin
Stefan Troschuetz19-May-06 5:06
Stefan Troschuetz19-May-06 5:06 
GeneralRe: FileSystemEventHandler arguments question. Pin
aquacadet19-May-06 6:00
aquacadet19-May-06 6:00 
GeneralRe: FileSystemEventHandler arguments question. Pin
Stefan Troschuetz19-May-06 6:34
Stefan Troschuetz19-May-06 6:34 
Questiona question about messagebox ? Pin
cmpeng3419-May-06 4:39
cmpeng3419-May-06 4:39 
AnswerRe: a question about messagebox ? Pin
mav.northwind19-May-06 5:19
mav.northwind19-May-06 5:19 
QuestionProgrammatically creating Reports using Reporting Services Pin
anderslundsgard19-May-06 4:14
anderslundsgard19-May-06 4:14 
Questionhelp printing HTML with C# to printer Pin
dpietro19-May-06 4:14
dpietro19-May-06 4:14 

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.