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

C#

 
AnswerRe: MD5 Conflict between PHP and C# Pin
Ennis Ray Lynch, Jr.8-Oct-08 12:30
Ennis Ray Lynch, Jr.8-Oct-08 12:30 
GeneralRe: MD5 Conflict between PHP and C# Pin
Vasudevan Deepak Kumar8-Oct-08 13:35
Vasudevan Deepak Kumar8-Oct-08 13:35 
AnswerRe: MD5 Conflict between PHP and C# Pin
Mark Churchill8-Oct-08 17:06
Mark Churchill8-Oct-08 17:06 
Questionevent not fired [modified] Pin
netJP12L8-Oct-08 12:02
netJP12L8-Oct-08 12:02 
AnswerRe: event not fired Pin
DaveyM698-Oct-08 12:31
professionalDaveyM698-Oct-08 12:31 
GeneralRe: event not fired Pin
netJP12L8-Oct-08 16:58
netJP12L8-Oct-08 16:58 
QuestionError- This row already belongd to another table Pin
rahul218-Oct-08 10:40
rahul218-Oct-08 10:40 
AnswerRe: Error- This row already belongd to another table Pin
Richard Blythe8-Oct-08 16:14
Richard Blythe8-Oct-08 16:14 
QuestionHow do I call the combobox SelectionChangeCommitted event manually? Pin
OldSchoolToC#8-Oct-08 5:56
OldSchoolToC#8-Oct-08 5:56 
AnswerRe: How do I call the combobox SelectionChangeCommitted event manually? Pin
DaveyM698-Oct-08 6:30
professionalDaveyM698-Oct-08 6:30 
GeneralRe: How do I call the combobox SelectionChangeCommitted event manually? Pin
led mike8-Oct-08 10:08
led mike8-Oct-08 10:08 
GeneralRe: How do I call the combobox SelectionChangeCommitted event manually? Pin
DaveyM698-Oct-08 11:50
professionalDaveyM698-Oct-08 11:50 
GeneralRe: How do I call the combobox SelectionChangeCommitted event manually? Pin
OldSchoolToC#8-Oct-08 10:17
OldSchoolToC#8-Oct-08 10:17 
QuestionArrayList vs. List<object> Pin
dbrenth8-Oct-08 5:28
dbrenth8-Oct-08 5:28 
AnswerRe: ArrayList vs. List<object></object> PinPopular
led mike8-Oct-08 5:39
led mike8-Oct-08 5:39 
GeneralRe: ArrayList vs. List Pin
Dave Kreskowiak8-Oct-08 8:29
mveDave Kreskowiak8-Oct-08 8:29 
GeneralRe: ArrayList vs. List Pin
led mike8-Oct-08 10:02
led mike8-Oct-08 10:02 
AnswerRe: ArrayList vs. List&lt;object&gt; Pin
Simon P Stevens8-Oct-08 5:41
Simon P Stevens8-Oct-08 5:41 
GeneralRe: ArrayList vs. List&lt;object&gt; Pin
dbrenth8-Oct-08 5:44
dbrenth8-Oct-08 5:44 
GeneralRe: ArrayList vs. List&lt;object&gt; Pin
Mark Salsbery8-Oct-08 7:35
Mark Salsbery8-Oct-08 7:35 
AnswerRe: ArrayList vs. List&lt;object&gt; Pin
DaveyM698-Oct-08 5:43
professionalDaveyM698-Oct-08 5:43 
AnswerRe: ArrayList vs. List&lt;object&gt; Pin
Scott Dorman8-Oct-08 7:38
professionalScott Dorman8-Oct-08 7:38 
For the most part the way you interact with a List<T> and an ArrayList are the same. They provide very similar functionality to the calling code.

Specifically, List<Object> is defining a generic list of type Object so from a data type point of view it is the same as ArrayList since ArrayList can only contain objects.

In general, I think it is preferable to use the generics, particularly if you are working with strong data types (things other than objects) as you are able to get better performance from the generics because you no longer have most (if not all) of the boxing/unboxing operations that need to be performed. That being said, by creating a List<Object>, you probably aren't really gaining a whole lot over an ArrayList.

Scott Dorman
Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA

[Blog][Articles][Forum Guidelines]
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

AnswerRe: ArrayList vs. List&lt;object&gt; Pin
Daniel Grunwald8-Oct-08 8:11
Daniel Grunwald8-Oct-08 8:11 
AnswerRe: ArrayList vs. List&lt;object&gt; Pin
CPallini8-Oct-08 9:15
mveCPallini8-Oct-08 9:15 
AnswerRe: ArrayList vs. List&lt;object&gt; Pin
Guffa8-Oct-08 9:19
Guffa8-Oct-08 9:19 

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.