Click here to Skip to main content
15,914,160 members
Home / Discussions / C#
   

C#

 
Questionreading from a file Pin
arjunsasikumar5-Nov-06 4:04
arjunsasikumar5-Nov-06 4:04 
AnswerRe: reading from a file Pin
User 66585-Nov-06 4:44
User 66585-Nov-06 4:44 
AnswerRe: reading from a file Pin
Stefan Troschuetz5-Nov-06 4:44
Stefan Troschuetz5-Nov-06 4:44 
Questiondll AccessViolation Pin
ilmarga5-Nov-06 3:51
ilmarga5-Nov-06 3:51 
AnswerRe: dll AccessViolation Pin
Rob Graham5-Nov-06 5:09
Rob Graham5-Nov-06 5:09 
Questionsend and recieve bytes Pin
HRiazi5-Nov-06 3:20
HRiazi5-Nov-06 3:20 
AnswerRe: send and recieve bytes Pin
mertkan656-Nov-06 4:34
mertkan656-Nov-06 4:34 
QuestionGenerics/Collections return a specific object Pin
I_thought5-Nov-06 3:04
I_thought5-Nov-06 3:04 
Hello,

I'm new to C# .Net 2, though not to programming, and I'm having some trouble with an object I've created.


ProductStatus is an object that i have used implemented as a List<T> . It is filled from a database, each new record is a new ProductStatus.
My question is, how do I return a sepecific entry from the list, using <T>.Contains for instance, but without having to pass an entire ProductStatus in? For instance just passing in the Name, or it's ID number.

If anyone could recommend some reading about Generics and Collections in C#, that would be just fudgin awesom-o, too.

thanks
AnswerRe: Generics/Collections return a specific object Pin
I_thought5-Nov-06 6:15
I_thought5-Nov-06 6:15 
AnswerRe: Generics/Collections return a specific object Pin
Judah Gabriel Himango5-Nov-06 12:26
sponsorJudah Gabriel Himango5-Nov-06 12:26 
Questionplz help: how can i open mht file in windows based form with C# Pin
mohamed magdi ali4-Nov-06 21:47
mohamed magdi ali4-Nov-06 21:47 
Questioncontrol . cs-->.dll Pin
rzvme4-Nov-06 21:31
rzvme4-Nov-06 21:31 
AnswerRe: control . cs-->.dll Pin
Stefan Troschuetz4-Nov-06 22:19
Stefan Troschuetz4-Nov-06 22:19 
AnswerRe: control . cs-->.dll Pin
Amar Chaudhary5-Nov-06 23:35
Amar Chaudhary5-Nov-06 23:35 
QuestionPlease HELP :: webbrowser within background worker [modified] Pin
Nadia Monalisa4-Nov-06 20:50
Nadia Monalisa4-Nov-06 20:50 
AnswerRe: Please HELP :: webbrowser within background worker Pin
Stefan Troschuetz4-Nov-06 22:28
Stefan Troschuetz4-Nov-06 22:28 
AnswerRe: Please HELP :: webbrowser within background worker Pin
Bradml5-Nov-06 0:46
Bradml5-Nov-06 0:46 
AnswerRe: Please HELP :: webbrowser within background worker Pin
mertkan656-Nov-06 21:10
mertkan656-Nov-06 21:10 
QuestionHow can I replace all occurance of a string except when it's enclosed with a special tag? Pin
AngryC4-Nov-06 17:59
AngryC4-Nov-06 17:59 
AnswerRe: How can I replace all occurance of a string except when it's enclosed with a special tag? Pin
wajih.boukaram4-Nov-06 20:11
wajih.boukaram4-Nov-06 20:11 
AnswerRe: How can I replace all occurance of a string except when it's enclosed with a special tag? Pin
Nadia Monalisa4-Nov-06 21:10
Nadia Monalisa4-Nov-06 21:10 
QuestionHow to detect if process if executed Pin
raptor00-coolguy4-Nov-06 16:09
raptor00-coolguy4-Nov-06 16:09 
AnswerRe: How to detect if process if executed Pin
Nadia Monalisa4-Nov-06 20:57
Nadia Monalisa4-Nov-06 20:57 
GeneralRe: How to detect if process if executed Pin
raptor00-coolguy5-Nov-06 4:32
raptor00-coolguy5-Nov-06 4:32 
Questionlinking between the forms... Pin
arjunsasikumar4-Nov-06 10:34
arjunsasikumar4-Nov-06 10:34 

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.