Click here to Skip to main content
15,912,400 members
Home / Discussions / C#
   

C#

 
GeneralRe: Dynamic XMLcreation Pin
Corinna John8-Nov-05 0:51
Corinna John8-Nov-05 0:51 
QuestionProblem in inserting data from DataGrid ( winforms ) Pin
Ripper_16-Nov-05 21:17
Ripper_16-Nov-05 21:17 
Questionseveral windows vs modal dialog Pin
koruyucu6-Nov-05 21:17
koruyucu6-Nov-05 21:17 
AnswerRe: several windows vs modal dialog Pin
Corinna John6-Nov-05 21:48
Corinna John6-Nov-05 21:48 
GeneralRe: several windows vs modal dialog Pin
koruyucu6-Nov-05 21:55
koruyucu6-Nov-05 21:55 
QuestionWeb Setup project Pin
manojk_batra6-Nov-05 20:06
manojk_batra6-Nov-05 20:06 
QuestionArray and ArrayList Pin
webC#6-Nov-05 20:01
webC#6-Nov-05 20:01 
AnswerRe: Array and ArrayList Pin
azazel006-Nov-05 20:24
azazel006-Nov-05 20:24 
Basically, arrays are fixed size, and can only contain one kind of object (the object it was defined to contain). Addionally you need to know how many elements you have in your array in order to iterate through them.

ArrayLists, have a dynamic size. When you add a new element they will automatically increase their size. You can call the "Count" property to know how many elements are stored in the arraylist. When you extract an element from the arraylist, it wont have the original type, but instead is transformed into an object. You have to cast the object in order to turn it back into the Class it was originally.

Some more experienced guys may be able to correct me if I got somethign wrong.

Hope this helps,

azazel
GeneralRe: Array and ArrayList Pin
J4amieC6-Nov-05 21:48
J4amieC6-Nov-05 21:48 
Questionsocket connection problems Pin
g00fyman6-Nov-05 19:28
g00fyman6-Nov-05 19:28 
AnswerRe: socket connection problems Pin
g00fyman6-Nov-05 19:39
g00fyman6-Nov-05 19:39 
QuestionGUI: MySQL Administrator type navigation Pin
azazel006-Nov-05 19:20
azazel006-Nov-05 19:20 
AnswerRe: GUI: MySQL Administrator type navigation Pin
g00fyman6-Nov-05 19:36
g00fyman6-Nov-05 19:36 
AnswerRe: GUI: MySQL Administrator type navigation Pin
AETaylor6-Nov-05 20:41
AETaylor6-Nov-05 20:41 
GeneralRe: GUI: MySQL Administrator type navigation Pin
g00fyman6-Nov-05 21:36
g00fyman6-Nov-05 21:36 
GeneralRe: GUI: MySQL Administrator type navigation Pin
g00fyman6-Nov-05 22:52
g00fyman6-Nov-05 22:52 
AnswerRe: GUI: MySQL Administrator type navigation Pin
Michael P Butler6-Nov-05 21:53
Michael P Butler6-Nov-05 21:53 
Questionsaving and closing excel files in excel automation Pin
fox_mulder_fbi6-Nov-05 18:02
fox_mulder_fbi6-Nov-05 18:02 
QuestionC# Browser and Click link Event Handler Pin
takkung6-Nov-05 17:03
takkung6-Nov-05 17:03 
AnswerRe: C# Browser and Click link Event Handler Pin
S. Senthil Kumar6-Nov-05 19:07
S. Senthil Kumar6-Nov-05 19:07 
GeneralRe: C# Browser and Click link Event Handler Pin
takkung6-Nov-05 19:47
takkung6-Nov-05 19:47 
QuestionProblem with the PictureBox Control: Please Help Pin
E6AD6-Nov-05 13:43
E6AD6-Nov-05 13:43 
AnswerRe: Problem with the PictureBox Control: Please Help Pin
Christian Graus6-Nov-05 14:01
protectorChristian Graus6-Nov-05 14:01 
AnswerRe: Problem with the PictureBox Control: Please Help Pin
[Marc]6-Nov-05 15:18
[Marc]6-Nov-05 15:18 
QuestionInconsistent Accessibility error ? Pin
Christian Graus6-Nov-05 12:27
protectorChristian Graus6-Nov-05 12:27 

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.