Click here to Skip to main content
15,908,901 members
Home / Discussions / C#
   

C#

 
GeneralRe: version control software Pin
Khan Olid Mannan28-Feb-10 0:45
Khan Olid Mannan28-Feb-10 0:45 
GeneralRe: version control software Pin
Som Shekhar28-Feb-10 0:50
Som Shekhar28-Feb-10 0:50 
AnswerRe: version control software Pin
Wes Aday27-Feb-10 16:04
professionalWes Aday27-Feb-10 16:04 
GeneralRe: version control software Pin
Khan Olid Mannan28-Feb-10 0:53
Khan Olid Mannan28-Feb-10 0:53 
GeneralRe: version control software Pin
Wes Aday28-Feb-10 5:15
professionalWes Aday28-Feb-10 5:15 
AnswerRe: version control software Pin
Scott Serl27-Feb-10 16:25
Scott Serl27-Feb-10 16:25 
AnswerRe: version control software Pin
David Skelly28-Feb-10 22:40
David Skelly28-Feb-10 22:40 
QuestionOpening a Doc file Pin
gouthami chintala27-Feb-10 3:58
gouthami chintala27-Feb-10 3:58 
AnswerRe: Opening a Doc file Pin
Kristian Sixhøj27-Feb-10 4:04
Kristian Sixhøj27-Feb-10 4:04 
QuestionHow to clear a text file from my code? Pin
arsendem27-Feb-10 2:34
arsendem27-Feb-10 2:34 
AnswerRe: How to clear a text file from my code? Pin
Luc Pattyn27-Feb-10 2:43
sitebuilderLuc Pattyn27-Feb-10 2:43 
AnswerRe: How to clear a text file from my code? PinPopular
AspDotNetDev27-Feb-10 2:43
protectorAspDotNetDev27-Feb-10 2:43 
AnswerRe: How to clear a text file from my code? Pin
Abhinav S27-Feb-10 5:34
Abhinav S27-Feb-10 5:34 
QuestionHow to convers list<> type Pin
treuveni27-Feb-10 0:33
treuveni27-Feb-10 0:33 
AnswerRe: How to convers list type Pin
AspDotNetDev27-Feb-10 0:39
protectorAspDotNetDev27-Feb-10 0:39 
AnswerRe: How to convers list type Pin
Luc Pattyn27-Feb-10 0:44
sitebuilderLuc Pattyn27-Feb-10 0:44 
List<T> is meant to contain only items of type T or a derivative of T.
Just like an array of int is meant to contain only int values.
That is the whole purpose of generics.

If you need a list to hold all kinds of objects, you have to find a common type T.
In the extreme, you'd have List<T> which is very much like the old ArrayList. But then you loose all the advantages of generics.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.

GeneralRe: How to convers list type Pin
treuveni27-Feb-10 0:54
treuveni27-Feb-10 0:54 
AnswerRe: How to convers list type Pin
Luc Pattyn27-Feb-10 1:04
sitebuilderLuc Pattyn27-Feb-10 1:04 
GeneralRe: How to convers list type Pin
#realJSOP27-Feb-10 2:21
professional#realJSOP27-Feb-10 2:21 
GeneralRe: How to convers list type Pin
AspDotNetDev27-Feb-10 1:04
protectorAspDotNetDev27-Feb-10 1:04 
AnswerMessage Closed Pin
27-Feb-10 1:33
stancrm27-Feb-10 1:33 
GeneralRe: How to convers list type Pin
AspDotNetDev27-Feb-10 2:01
protectorAspDotNetDev27-Feb-10 2:01 
AnswerRe: How to convers list type [modified] Pin
#realJSOP27-Feb-10 8:06
professional#realJSOP27-Feb-10 8:06 
GeneralRe: How to convers list type Pin
Luc Pattyn27-Feb-10 8:18
sitebuilderLuc Pattyn27-Feb-10 8:18 
GeneralRe: How to convers list type Pin
#realJSOP27-Feb-10 8:21
professional#realJSOP27-Feb-10 8:21 

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.