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

C#

 
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 
QuestionMove from one tabpage to another Pin
Reza Shojaee26-Feb-10 20:54
Reza Shojaee26-Feb-10 20:54 
AnswerRe: Move from one tabpage to another Pin
Luc Pattyn26-Feb-10 21:18
sitebuilderLuc Pattyn26-Feb-10 21:18 
GeneralRe: Move from one tabpage to another Pin
#realJSOP27-Feb-10 1:13
professional#realJSOP27-Feb-10 1:13 
AnswerRe: Move from one tabpage to another Pin
Luc Pattyn27-Feb-10 1:32
sitebuilderLuc Pattyn27-Feb-10 1:32 
GeneralRe: Move from one tabpage to another Pin
#realJSOP27-Feb-10 1:49
professional#realJSOP27-Feb-10 1:49 
AnswerRe: Move from one tabpage to another Pin
Luc Pattyn27-Feb-10 1:52
sitebuilderLuc Pattyn27-Feb-10 1:52 
GeneralRe: Move from one tabpage to another Pin
#realJSOP27-Feb-10 1:53
professional#realJSOP27-Feb-10 1:53 
Questioncode to convert doc file to txt file Pin
Anil Kumar.Arvapalli26-Feb-10 20:31
Anil Kumar.Arvapalli26-Feb-10 20:31 

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.