Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
QuestionError running sp in C# Pin
MAW3026-May-11 16:31
MAW3026-May-11 16:31 
AnswerRe: Error running sp in C# PinPopular
Richard MacCutchan26-May-11 22:16
mveRichard MacCutchan26-May-11 22:16 
QuestionUserAppDataRegistry - disable ProductVersion component in key path Pin
bob1697226-May-11 15:41
bob1697226-May-11 15:41 
QuestionRegEx for Fist Charactr is Positive Pin
Kevin Marois26-May-11 11:31
professionalKevin Marois26-May-11 11:31 
AnswerRe: RegEx for Fist Charactr is Positive Pin
Luc Pattyn26-May-11 12:00
sitebuilderLuc Pattyn26-May-11 12:00 
GeneralRe: RegEx for Fist Charactr is Positive Pin
Manfred Rudolf Bihy26-May-11 12:26
professionalManfred Rudolf Bihy26-May-11 12:26 
GeneralRe: RegEx for Fist Charactr is Positive [modified] Pin
Luc Pattyn26-May-11 12:40
sitebuilderLuc Pattyn26-May-11 12:40 
GeneralRe: RegEx for Fist Charactr is Positive Pin
SledgeHammer0126-May-11 12:59
SledgeHammer0126-May-11 12:59 
AnswerRe: RegEx for Fist Charactr is Positive Pin
Luc Pattyn26-May-11 13:04
sitebuilderLuc Pattyn26-May-11 13:04 
GeneralRe: RegEx for Fist Charactr is Positive Pin
SledgeHammer0126-May-11 13:13
SledgeHammer0126-May-11 13:13 
GeneralRe: RegEx for Fist Charactr is Positive Pin
BobJanova26-May-11 23:31
BobJanova26-May-11 23:31 
AnswerRe: RegEx for Fist Charactr is Positive Pin
Manfred Rudolf Bihy26-May-11 12:22
professionalManfred Rudolf Bihy26-May-11 12:22 
GeneralRe: RegEx for Fist Charactr is Positive Pin
Luc Pattyn26-May-11 13:01
sitebuilderLuc Pattyn26-May-11 13:01 
GeneralRe: RegEx for Fist Charactr is Positive Pin
Manfred Rudolf Bihy26-May-11 13:25
professionalManfred Rudolf Bihy26-May-11 13:25 
AnswerRe: RegEx for Fist Charactr is Positive Pin
BobJanova26-May-11 23:33
BobJanova26-May-11 23:33 
QuestionExecuting Javascript Pin
mjackson1126-May-11 10:00
mjackson1126-May-11 10:00 
AnswerRe: Executing Javascript Pin
BobJanova26-May-11 23:38
BobJanova26-May-11 23:38 
QuestionHow to combine 3 different list objects into a single list object? Pin
Goalie3526-May-11 5:48
Goalie3526-May-11 5:48 
AnswerRe: How to combine 3 different list objects into a single list object? Pin
Pete O'Hanlon26-May-11 5:50
mvePete O'Hanlon26-May-11 5:50 
AnswerRe: How to combine 3 different list objects into a single list object? [modified] Pin
Luc Pattyn26-May-11 6:18
sitebuilderLuc Pattyn26-May-11 6:18 
AnswerRe: How to combine 3 different list objects into a single list object? Pin
SledgeHammer0126-May-11 6:21
SledgeHammer0126-May-11 6:21 
AnswerRe: How to combine 3 different list objects into a single list object? Pin
dasblinkenlight26-May-11 6:35
dasblinkenlight26-May-11 6:35 
Assuming that SalesTeamNorth, SalesTeamSouth, and SalesTeamEast are all classes inheriting from AllSalesReps, you could do it with LINQ:

C#
IList<AllSalesReps> allReps = teamNorth
    .Cast<AllSalesReps>()
    .Concat(teamSouth)
    .Concat(teamEast)
    .ToList();

GeneralRe: How to combine 3 different list objects into a single list object? Pin
Sanjay J Patolia27-May-11 1:09
Sanjay J Patolia27-May-11 1:09 
AnswerRe: How to combine 3 different list objects into a single list object? Pin
V.26-May-11 23:27
professionalV.26-May-11 23:27 
AnswerRe: How to combine 3 different list objects into a single list object? Pin
BobJanova26-May-11 23:42
BobJanova26-May-11 23:42 

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.