Click here to Skip to main content
15,909,953 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to call 1 class method or constructor in other class ? Pin
harold aptroot21-May-09 7:07
harold aptroot21-May-09 7:07 
GeneralRe: how to call 1 class method or constructor in other class ? Pin
xingselex21-May-09 7:11
xingselex21-May-09 7:11 
GeneralRe: how to call 1 class method or constructor in other class ? Pin
OriginalGriff21-May-09 8:31
mveOriginalGriff21-May-09 8:31 
GeneralRe: how to call 1 class method or constructor in other class ? Pin
harold aptroot21-May-09 7:06
harold aptroot21-May-09 7:06 
GeneralRe: how to call 1 class method or constructor in other class ? Pin
musefan21-May-09 6:37
musefan21-May-09 6:37 
QuestionGet/Set for List<string> in C#</string> Pin
ipstefan21-May-09 3:07
ipstefan21-May-09 3:07 
AnswerRe: Get/Set for List in C# Pin
musefan21-May-09 3:12
musefan21-May-09 3:12 
GeneralRe: Get/Set for List in C# Pin
ipstefan21-May-09 3:15
ipstefan21-May-09 3:15 
When I try to make
foreach(string s in def_compare)
         Console.Writeline(s);
It doesnt write anything.I guess the list is empty.

I tried how you told me to:
in class 1:
DefCompareProperty df = new DefCompareProperty();
df.SetDefComp(def_compare);
in class 3:
public void SetDefComp(List<string> members)
{
lst = members;
}
And I still have an empty list in class 2.
GeneralRe: Get/Set for List in C# Pin
musefan21-May-09 3:20
musefan21-May-09 3:20 
AnswerRe: Get/Set for List in C# Pin
Anthony Mushrow21-May-09 3:18
professionalAnthony Mushrow21-May-09 3:18 
GeneralRe: Get/Set for List in C# Pin
ipstefan21-May-09 3:49
ipstefan21-May-09 3:49 
AnswerRe: Get/Set for List in C# Pin
Luc Pattyn21-May-09 3:36
sitebuilderLuc Pattyn21-May-09 3:36 
GeneralRe: Get/Set for List in C# Pin
musefan21-May-09 3:45
musefan21-May-09 3:45 
GeneralRe: Get/Set for List in C# Pin
PIEBALDconsult21-May-09 4:09
mvePIEBALDconsult21-May-09 4:09 
GeneralRe: Get/Set for List in C# Pin
Luc Pattyn21-May-09 4:21
sitebuilderLuc Pattyn21-May-09 4:21 
GeneralRe: Get/Set for List in C# Pin
musefan21-May-09 4:37
musefan21-May-09 4:37 
GeneralRe: Get/Set for List in C# Pin
Paddy Boyd21-May-09 5:24
Paddy Boyd21-May-09 5:24 
GeneralRe: Get/Set for List in C# Pin
Luc Pattyn21-May-09 5:30
sitebuilderLuc Pattyn21-May-09 5:30 
Questionexcel x-axis in Time format 00:00:00 using C# Pin
carnister21-May-09 2:49
carnister21-May-09 2:49 
QuestionSave to default program files folder Pin
Jon Henry21-May-09 2:30
Jon Henry21-May-09 2:30 
AnswerRe: Save to default program files folder Pin
musefan21-May-09 2:35
musefan21-May-09 2:35 
AnswerRe: Save to default program files folder [modified] Pin
Luc Pattyn21-May-09 3:41
sitebuilderLuc Pattyn21-May-09 3:41 
GeneralRe: Save to default program files folder Pin
Jon Henry21-May-09 13:00
Jon Henry21-May-09 13:00 
GeneralRe: Save to default program files folder Pin
Luc Pattyn21-May-09 13:35
sitebuilderLuc Pattyn21-May-09 13:35 
QuestionCurious question as I am c# developer. [modified] Pin
Blubbo21-May-09 2:23
Blubbo21-May-09 2:23 

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.