Click here to Skip to main content
15,889,597 members
Home / Discussions / C#
   

C#

 
GeneralRe: Communicating with a child process Pin
Daniel Grunwald25-Sep-07 2:15
Daniel Grunwald25-Sep-07 2:15 
GeneralRe: Communicating with a child process Pin
TJoe25-Sep-07 2:26
TJoe25-Sep-07 2:26 
QuestionMdi Program Problem Pin
ali_reza_zareian24-Sep-07 23:26
ali_reza_zareian24-Sep-07 23:26 
AnswerRe: Mdi Program Problem Pin
Dave Kreskowiak25-Sep-07 3:45
mveDave Kreskowiak25-Sep-07 3:45 
QuestionBest video format? Pin
DeepOceans24-Sep-07 23:11
DeepOceans24-Sep-07 23:11 
AnswerRe: Best video format? Pin
Paul Conrad26-Sep-07 17:55
professionalPaul Conrad26-Sep-07 17:55 
QuestionArray Construction Help [modified] Pin
Jason Black24-Sep-07 22:59
Jason Black24-Sep-07 22:59 
AnswerRe: Array Construction Help [modified] Pin
Pete O'Hanlon24-Sep-07 23:09
mvePete O'Hanlon24-Sep-07 23:09 
Well, you could create your array with [n][3] dimensions. However, a better bet would be to create a class which encapsulates the items in your list, and then wrap it up with a generic list. Modified in response to your changed requirements:
public class MyClass
{
  private string _field1;
  private string _field2;
  private List<string> _field3 = new List<string>();
  public string Field1
  {
    get { return _field1; }
    set { _field1 = value; }
  }
  public string Field2
  {
    get { return _field2; }
    set { _field2 = value; }
  }
  public List<string> Field3
  {
    get { return _field3; }
    set { _field3 = value; }
  }
}

... private List<MyClass> list = new List<MyClass>();

public void Add(MyClass item)
{
  list.Add(item);
}



-- modified at 7:20 Tuesday 25th September, 2007

Deja View - the feeling that you've seen this post before.

QuestionSave Form screen as jpg-file Pin
anderslundsgard24-Sep-07 22:28
anderslundsgard24-Sep-07 22:28 
AnswerRe: Save Form screen as jpg-file Pin
Martin#24-Sep-07 22:35
Martin#24-Sep-07 22:35 
AnswerRe: Save Form screen as jpg-file Pin
Ajay.k_Singh24-Sep-07 22:57
Ajay.k_Singh24-Sep-07 22:57 
GeneralRe: Save Form screen as jpg-file Pin
anderslundsgard25-Sep-07 0:18
anderslundsgard25-Sep-07 0:18 
GeneralRe: Save Form screen as jpg-file Pin
Ajay.k_Singh25-Sep-07 0:43
Ajay.k_Singh25-Sep-07 0:43 
GeneralRe: Save Form screen as jpg-file Pin
anderslundsgard25-Sep-07 4:47
anderslundsgard25-Sep-07 4:47 
QuestionEquivalent of CStringArray in C# Pin
Mushtaque Nizamani24-Sep-07 22:26
Mushtaque Nizamani24-Sep-07 22:26 
AnswerRe: Equivalent of CStringArray in C# Pin
Martin#24-Sep-07 22:32
Martin#24-Sep-07 22:32 
GeneralRe: Equivalent of CStringArray in C# [modified] Pin
Mushtaque Nizamani24-Sep-07 22:39
Mushtaque Nizamani24-Sep-07 22:39 
QuestionInheritance in C# (class + interface) Pin
kaminem24-Sep-07 22:22
kaminem24-Sep-07 22:22 
AnswerRe: Inheritance in C# (class + interface) Pin
Colin Angus Mackay24-Sep-07 22:55
Colin Angus Mackay24-Sep-07 22:55 
QuestionEmpty Catch Pin
Malcolm Smart24-Sep-07 22:04
Malcolm Smart24-Sep-07 22:04 
AnswerRe: Empty Catch Pin
pmarfleet24-Sep-07 22:16
pmarfleet24-Sep-07 22:16 
GeneralRe: Empty Catch Pin
Malcolm Smart24-Sep-07 22:22
Malcolm Smart24-Sep-07 22:22 
GeneralRe: Empty Catch Pin
Colin Angus Mackay24-Sep-07 22:33
Colin Angus Mackay24-Sep-07 22:33 
GeneralRe: Empty Catch Pin
pmarfleet24-Sep-07 22:35
pmarfleet24-Sep-07 22:35 
AnswerRe: Empty Catch Pin
Guffa24-Sep-07 23:11
Guffa24-Sep-07 23:11 

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.