Click here to Skip to main content
15,897,518 members
Home / Discussions / C#
   

C#

 
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 
Hi,

I have to different type of lists.
List<firstclass>
List<secondclass>

i'm trying to add to the List<SecondClass> the List<FirstClass>

 List<SecondClass> secondClass = new List<SecondClass>();<br />
//query.ToList() => the list that returns by link with the type of FirstClass<br />
<br />
            foreach (FirstClass item in query.ToList())<br />
            {<br />
<br />
                secondClass.Add(item);<br />
            }


What i need to do to be able to add FirstClass items to SecondClass list?
Can someone please help me?
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 
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 

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.