Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: Deployment project: adding uninstall icon Pin
Radoslav Bielik3-Feb-04 23:43
Radoslav Bielik3-Feb-04 23:43 
GeneralRe: Deployment project: adding uninstall icon Pin
Heath Stewart4-Feb-04 3:55
protectorHeath Stewart4-Feb-04 3:55 
GeneralRe: Deployment project: adding uninstall icon Pin
Heath Stewart4-Feb-04 4:00
protectorHeath Stewart4-Feb-04 4:00 
GeneralRe: Deployment project: adding uninstall icon Pin
Mazdak4-Feb-04 5:27
Mazdak4-Feb-04 5:27 
GeneralRe: Deployment project: adding uninstall icon Pin
Heath Stewart4-Feb-04 5:29
protectorHeath Stewart4-Feb-04 5:29 
GeneralRe: Deployment project: adding uninstall icon Pin
Radoslav Bielik4-Feb-04 20:58
Radoslav Bielik4-Feb-04 20:58 
GeneralRe: Deployment project: adding uninstall icon Pin
Heath Stewart5-Feb-04 4:14
protectorHeath Stewart5-Feb-04 4:14 
GeneralProblem with arrays... Pin
Andres Coder3-Feb-04 21:46
Andres Coder3-Feb-04 21:46 
I was learning array and came to a problem I ...

I have a struct containing some info:
public struct SomeInfo
{
   public string Value1;
   public int Value2;    
   public SomeClass Type1;
}


And an array of SomeInfo: public SomeInfo[] SomeArray;

So by now I should have an array that every item has 3 properties (Value1, Value2, Type1) and I can access them by doing like this: SomeArray[1].Value1 = ... Right ?


The only problem here is that the size of SomeArray array if fixed (I cannot add any more items if the array is full). I also cannot use ArrayList, because that way I cannot access the array item's properties (Value1, Value2, Type1), right ? So what to do ?

Think of as of the classical addressbook example - You have a struct named Person with 3 fields - Name, Age, and a class for some reason. Also a array that contains the list of Persons.

Regards, Desmond
GeneralRe: Problem with arrays... Pin
Radoslav Bielik3-Feb-04 21:54
Radoslav Bielik3-Feb-04 21:54 
GeneralRe: Problem with arrays... Pin
Andres Coder4-Feb-04 3:29
Andres Coder4-Feb-04 3:29 
GeneralRe: Problem with arrays... Pin
Andres Coder4-Feb-04 3:29
Andres Coder4-Feb-04 3:29 
GeneralRe: Problem with arrays... Pin
Heath Stewart4-Feb-04 3:53
protectorHeath Stewart4-Feb-04 3:53 
GeneralRe: Problem with arrays... Pin
Andres Coder4-Feb-04 23:14
Andres Coder4-Feb-04 23:14 
GeneralRe: Problem with arrays... Pin
Jeff Varszegi12-Mar-04 9:00
professionalJeff Varszegi12-Mar-04 9:00 
QuestionRecord types in C# ? Pin
Andres Coder3-Feb-04 19:59
Andres Coder3-Feb-04 19:59 
AnswerRe: Record types in C# ? Pin
John Kuhn3-Feb-04 20:18
John Kuhn3-Feb-04 20:18 
GeneralRe: Record types in C# ? Pin
Heath Stewart3-Feb-04 20:37
protectorHeath Stewart3-Feb-04 20:37 
GeneralRe: Record types in C# ? Pin
John Kuhn3-Feb-04 20:43
John Kuhn3-Feb-04 20:43 
GeneralRe: Record types in C# ? Pin
Andres Coder3-Feb-04 20:45
Andres Coder3-Feb-04 20:45 
GeneralRe: Record types in C# ? Pin
Heath Stewart4-Feb-04 3:29
protectorHeath Stewart4-Feb-04 3:29 
AnswerRe: Record types in C# ? Pin
Heath Stewart3-Feb-04 20:32
protectorHeath Stewart3-Feb-04 20:32 
GeneralRe: Record types in C# ? Pin
Andres Coder3-Feb-04 20:48
Andres Coder3-Feb-04 20:48 
Generalkernel process on c# Pin
laurentz_wei3-Feb-04 18:36
laurentz_wei3-Feb-04 18:36 
GeneralRe: kernel process on c# Pin
Heath Stewart3-Feb-04 20:21
protectorHeath Stewart3-Feb-04 20:21 
GeneralRe: kernel process on c# Pin
Mazdak3-Feb-04 20:24
Mazdak3-Feb-04 20:24 

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.