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

C#

 
GeneralRe: C#.net with system process Pin
thunderbirdje24-Aug-06 6:30
thunderbirdje24-Aug-06 6:30 
Questionone to many class association Pin
chacimulch24-Aug-06 4:57
chacimulch24-Aug-06 4:57 
AnswerRe: one to many class association Pin
beatles169224-Aug-06 5:26
beatles169224-Aug-06 5:26 
Questionnot working still. Re: one to many class association [modified] Pin
chacimulch24-Aug-06 8:43
chacimulch24-Aug-06 8:43 
AnswerRe: not working still. Re: one to many class association Pin
beatles169224-Aug-06 21:05
beatles169224-Aug-06 21:05 
QuestionHelp with syntax. Re: one to many class association Pin
chacimulch25-Aug-06 2:36
chacimulch25-Aug-06 2:36 
AnswerRe: Help with syntax. Re: one to many class association Pin
beatles169225-Aug-06 3:03
beatles169225-Aug-06 3:03 
QuestionRe: Help with syntax. Re: one to many class association [modified] Pin
chacimulch25-Aug-06 3:51
chacimulch25-Aug-06 3:51 
Holy crap it's working. Cool | :cool: Big Grin | :-D Thanks so much for your help and you SPEEDY responses.

I've never worked with classes in this fasion before and I'm still trying to understand what is going on here because I want to learn. Maybe you could explain this for me? Also since I don't really understand this, is there going to be multiple array lists created and cause memory issues. It seems to me like it will create a new list every time i really just want to add an object to the same list????

so this is decaling product as an empty array of type products?
private Product[] productField=new Product[]{};

new array list?
ArrayList repReqs = new ArrayList();

confusion here: to me this seems like it's creating a range of arrays?
shouldn't it be a collection of class objects?
repReqs.AddRange(this.repairRequestsField);

confusion here: now your adding an object to your array list, but how does it
know to use the new range?
repReqs.Add(rr);

confusion here: basically no clue.
this.repairRequestsField = (RepairRequests[])repReqs.ToArray(typeof(RepairRequests));

I really want to get a better grasp on some more complex c# aspects like this. Do you have any suggestions for good books?

thanks.








-- modified at 9:54 Friday 25th August, 2006
AnswerRe: Help with syntax. Re: one to many class association Pin
beatles169225-Aug-06 12:10
beatles169225-Aug-06 12:10 
AnswerRe: one to many class association Pin
Nader Elshehabi24-Aug-06 10:51
Nader Elshehabi24-Aug-06 10:51 
Questionusing Sission by c# Pin
mhattiyah24-Aug-06 4:46
mhattiyah24-Aug-06 4:46 
AnswerRe: using Sission by c# Pin
ToddHileHoffer24-Aug-06 5:10
ToddHileHoffer24-Aug-06 5:10 
Questioninconsistency in virtual dir Pin
Kunal P24-Aug-06 4:31
Kunal P24-Aug-06 4:31 
AnswerRe: inconsistency in virtual dir Pin
Ennis Ray Lynch, Jr.24-Aug-06 9:15
Ennis Ray Lynch, Jr.24-Aug-06 9:15 
GeneralRe: inconsistency in virtual dir Pin
Kunal P24-Aug-06 20:03
Kunal P24-Aug-06 20:03 
GeneralRe: inconsistency in virtual dir Pin
Guffa24-Aug-06 22:42
Guffa24-Aug-06 22:42 
QuestionDoh! Regular Expressions and C# Strings [modified] Pin
Brent Lamborn24-Aug-06 4:24
Brent Lamborn24-Aug-06 4:24 
AnswerRe: Doh! Regular Expressions and C# Strings Pin
Coding C#24-Aug-06 4:38
Coding C#24-Aug-06 4:38 
GeneralRe: Doh! Regular Expressions and C# Strings Pin
User 665824-Aug-06 5:31
User 665824-Aug-06 5:31 
AnswerRe: Doh! Regular Expressions and C# Strings Pin
coolestCoder24-Aug-06 4:42
coolestCoder24-Aug-06 4:42 
GeneralRe: Doh! Regular Expressions and C# Strings Pin
Brent Lamborn24-Aug-06 6:26
Brent Lamborn24-Aug-06 6:26 
GeneralRe: Doh! Regular Expressions and C# Strings [modified] Pin
coolestCoder24-Aug-06 19:52
coolestCoder24-Aug-06 19:52 
GeneralRe: Doh! Regular Expressions and C# Strings Pin
Coding C#24-Aug-06 20:19
Coding C#24-Aug-06 20:19 
GeneralRe: Doh! Regular Expressions and C# Strings Pin
Brent Lamborn25-Aug-06 4:17
Brent Lamborn25-Aug-06 4:17 
Questionrefreshing the printer folder Pin
AnnnS24-Aug-06 4:23
AnnnS24-Aug-06 4: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.