Click here to Skip to main content
15,912,756 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I check to see if a file is being accessed by another process? Pin
Vasudevan Deepak Kumar29-Mar-07 12:13
Vasudevan Deepak Kumar29-Mar-07 12:13 
QuestionHELP NEEDED - DCOM Server in C#? Pin
r6yamaha29-Mar-07 8:16
r6yamaha29-Mar-07 8:16 
QuestionProblem using ListView control? Pin
Khoramdin29-Mar-07 8:10
Khoramdin29-Mar-07 8:10 
AnswerRe: Problem using ListView control? Pin
kubben29-Mar-07 8:19
kubben29-Mar-07 8:19 
QuestionHow to install the IE plugin from DLL Pin
Nadia Monalisa29-Mar-07 7:59
Nadia Monalisa29-Mar-07 7:59 
QuestionCan I create an array or List<> of class properties? [modified] Pin
Member 9629-Mar-07 7:38
Member 9629-Mar-07 7:38 
AnswerRe: Can I create an array or List of class properties? Pin
Not Active29-Mar-07 7:58
mentorNot Active29-Mar-07 7:58 
GeneralRe: Can I create an array or List of class properties? Pin
Member 9629-Mar-07 8:09
Member 9629-Mar-07 8:09 
I can't change the existing code with the exception that I can add anything I want to that class. What I want to do for some new UI code is access those properties by an integer index. I want to set and get those properties like normal, but do it through an as yet undefined....something.

I'm not sure what you're suggesting there but I don't think it's access by integer index, sorry if this isn't clear, I'm not sure how else I can explain it.

If this were a new class that I could write however I want to I would start from scratch with a generick List<string> instead of replicating those properties, instead I have to somehow "fake" it instead.

What I've done as a really crappy workaround for now is created separate set and get methods that accept an integer index and through a long switch statement set or get from the existing properties, but this seems inefficient compared to a directly indexed collection. Perhaps a collection of pointers to the properties, I don't know and searching about it is returning nothing but unrelated results.
GeneralRe: Can I create an array or List of class properties? Pin
Not Active29-Mar-07 8:28
mentorNot Active29-Mar-07 8:28 
GeneralRe: Can I create an array or List of class properties? Pin
Member 9629-Mar-07 8:58
Member 9629-Mar-07 8:58 
GeneralRe: Can I create an array or List of class properties? Pin
Not Active29-Mar-07 9:22
mentorNot Active29-Mar-07 9:22 
GeneralRe: Can I create an array or List of class properties? Pin
Member 9629-Mar-07 10:02
Member 9629-Mar-07 10:02 
AnswerRe: Can I create an array or List of class properties? Pin
led mike29-Mar-07 8:13
led mike29-Mar-07 8:13 
GeneralRe: Can I create an array or List of class properties? Pin
Member 9629-Mar-07 8:19
Member 9629-Mar-07 8:19 
GeneralRe: Can I create an array or List of class properties? Pin
led mike29-Mar-07 8:30
led mike29-Mar-07 8:30 
GeneralRe: Can I create an array or List of class properties? Pin
Member 9629-Mar-07 8:59
Member 9629-Mar-07 8:59 
AnswerRe: Can I create an array or List of class properties? Pin
Leslie Sanford29-Mar-07 10:41
Leslie Sanford29-Mar-07 10:41 
GeneralRe: Can I create an array or List of class properties? Pin
Member 9629-Mar-07 10:51
Member 9629-Mar-07 10:51 
QuestionQuick Question Pin
Ennis Ray Lynch, Jr.29-Mar-07 7:14
Ennis Ray Lynch, Jr.29-Mar-07 7:14 
AnswerRe: Quick Question Pin
kubben29-Mar-07 7:26
kubben29-Mar-07 7:26 
GeneralRe: Quick Question Pin
Ennis Ray Lynch, Jr.29-Mar-07 8:10
Ennis Ray Lynch, Jr.29-Mar-07 8:10 
GeneralRe: Quick Question Pin
kubben5-Apr-07 9:35
kubben5-Apr-07 9:35 
GeneralRe: Quick Question Pin
Vasudevan Deepak Kumar29-Mar-07 9:05
Vasudevan Deepak Kumar29-Mar-07 9:05 
AnswerRe: Quick Question Pin
Member 9629-Mar-07 7:40
Member 9629-Mar-07 7:40 
QuestionThreading Pin
HexaDeveloper29-Mar-07 6:02
HexaDeveloper29-Mar-07 6:02 

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.