Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to add lists Pin
coded0076-Dec-11 22:11
professionalcoded0076-Dec-11 22:11 
GeneralRe: how to add lists Pin
saurabh001 m6-Dec-11 22:21
saurabh001 m6-Dec-11 22:21 
AnswerRe: how to add lists Pin
Richard MacCutchan6-Dec-11 22:22
mveRichard MacCutchan6-Dec-11 22:22 
GeneralRe: how to add lists Pin
saurabh001 m6-Dec-11 22:23
saurabh001 m6-Dec-11 22:23 
GeneralRe: how to add lists Pin
Richard MacCutchan6-Dec-11 23:15
mveRichard MacCutchan6-Dec-11 23:15 
AnswerRe: how to add lists Pin
OriginalGriff6-Dec-11 22:36
mveOriginalGriff6-Dec-11 22:36 
GeneralRe: how to add lists Pin
saurabh001 m6-Dec-11 22:58
saurabh001 m6-Dec-11 22:58 
AnswerRe: how to add lists Pin
BillWoodruff7-Dec-11 10:11
professionalBillWoodruff7-Dec-11 10:11 
I suggest you repost this here, or on C# QA, with a code example clearly showing the structure of the Lists, and clearly showing exactly what the final result's structure (another List ?) should be, and telling us, clearly, how the final result is composed from the outermost Classes, using the innermost Classes, and their inner Properties (of Type: List of doubles).

From what you've disclosed here, we can only make "wild guesses" at the underlying structure like:
public class CD 
{
    // constructor code ?
    public CD(?) {?}

    public class CDA 
    {
       // constructor code ?
       public CDA(?) {?}

       public List<double> cda1 {get; set;}
       public List<double> cda2 {get; set;}
       // and so on ...
    }

    public class CDB {}
    public class CDC {}
}
//
public List1<CD> list1 = new List<CD>();
public List2<CD> list2 = new List<CD>();
public List3<CD> list3 = new List<CD>();
//
// some function that fills all the Lists, and inner Lists, and the inner property Lists of Type double, or is a database involved here ? database query result ?
//
// the result ?
public List<CD> SumOfLists = // using Linq ?
You need to clarify exactly what you mean by "nested." And, is inheritance used in any way here ?
"Anyone who shows me my 'blind spots' gives me the gift of sight." ... a thought from the shallows of the deeply shallow mind of ... Bill

QuestionEmail Exception Catching Pin
AmbiguousName6-Dec-11 20:48
AmbiguousName6-Dec-11 20:48 
AnswerRe: Email Exception Catching Pin
Wayne Gaylard6-Dec-11 21:18
professionalWayne Gaylard6-Dec-11 21:18 
AnswerRe: Email Exception Catching Pin
AmbiguousName6-Dec-11 21:47
AmbiguousName6-Dec-11 21:47 
GeneralRe: Email Exception Catching Pin
Richard MacCutchan6-Dec-11 22:19
mveRichard MacCutchan6-Dec-11 22:19 
GeneralRe: Email Exception Catching Pin
Wayne Gaylard6-Dec-11 22:20
professionalWayne Gaylard6-Dec-11 22:20 
AnswerRe: Email Exception Catching Pin
Dan Mos6-Dec-11 22:25
Dan Mos6-Dec-11 22:25 
QuestionSerialization Problem Pin
Kevin Marois6-Dec-11 13:45
professionalKevin Marois6-Dec-11 13:45 
AnswerRe: Serialization Problem Pin
BillWoodruff6-Dec-11 16:30
professionalBillWoodruff6-Dec-11 16:30 
AnswerRe: Serialization Problem Pin
Mycroft Holmes6-Dec-11 19:20
professionalMycroft Holmes6-Dec-11 19:20 
AnswerRe: Serialization Problem Pin
Dan Mos6-Dec-11 20:50
Dan Mos6-Dec-11 20:50 
AnswerRe: Serialization Problem Pin
Pete O'Hanlon6-Dec-11 20:59
mvePete O'Hanlon6-Dec-11 20:59 
GeneralRe: Serialization Problem Pin
Kevin Marois7-Dec-11 5:22
professionalKevin Marois7-Dec-11 5:22 
GeneralRe: Serialization Problem Pin
Pete O'Hanlon7-Dec-11 5:25
mvePete O'Hanlon7-Dec-11 5:25 
GeneralRe: Serialization Problem Pin
BillWoodruff7-Dec-11 10:34
professionalBillWoodruff7-Dec-11 10:34 
QuestionHow to fetch the user filled fields in PDF form Pin
Ravi k rao6-Dec-11 9:58
Ravi k rao6-Dec-11 9:58 
AnswerRe: How to fetch the user filled fields in PDF form Pin
Not Active6-Dec-11 11:54
mentorNot Active6-Dec-11 11:54 
AnswerRe: How to fetch the user filled fields in PDF form Pin
Wonde Tadesse6-Dec-11 13:09
professionalWonde Tadesse6-Dec-11 13:09 

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.