Click here to Skip to main content
15,899,124 members
Home / Discussions / C#
   

C#

 
GeneralXML comments don't show up when referencing DLL Pin
krisp26-Feb-04 18:53
krisp26-Feb-04 18:53 
GeneralRe: XML comments don't show up when referencing DLL Pin
Heath Stewart27-Feb-04 3:43
protectorHeath Stewart27-Feb-04 3:43 
GeneralArray iteration using unsafe code Pin
Meysam Mahfouzi26-Feb-04 18:23
Meysam Mahfouzi26-Feb-04 18:23 
GeneralRe: Array iteration using unsafe code Pin
Member 26118827-Feb-04 2:55
Member 26118827-Feb-04 2:55 
GeneralRe: Array iteration using unsafe code Pin
Heath Stewart27-Feb-04 3:34
protectorHeath Stewart27-Feb-04 3:34 
GeneralRe: Array iteration using unsafe code Pin
scadaguy27-Feb-04 3:07
scadaguy27-Feb-04 3:07 
GeneralRe: Array iteration using unsafe code Pin
turbochimp27-Feb-04 4:01
turbochimp27-Feb-04 4:01 
GeneralArray of Interfaces Pin
Meysam Mahfouzi26-Feb-04 18:07
Meysam Mahfouzi26-Feb-04 18:07 
Suppose that I have an interface named IMyInterface and two classes both of which implement this interface, say ClassA and ClassB. Now I need a collection of these classes. So I have to have an array of IMyInterface(I don't want to use any thing like ArrayList or something). Now my problem is how to initiate this kind of array so that it would be able to hold both ClassA and ClassB? For example think I need an array of size 10:

private IMyInterface[] _interfaces;
_interfaces = new (what?)[10]


ps: What is the best way of having such a dynamic array? should I have a temp array and use .CopyTo method and re-new the old array?



Don't forget, that's
Persian Gulf
not Arabian gulf!


Murphy:Click Here![^]
Events and Delegates simplified:Click Here![^]

I'm thirsty like sun, more landless than wind...

GeneralRe: Array of Interfaces Pin
Corinna John26-Feb-04 21:06
Corinna John26-Feb-04 21:06 
GeneralRe: Array of Interfaces Pin
Member 26118827-Feb-04 2:42
Member 26118827-Feb-04 2:42 
GeneralRe: Array of Interfaces Pin
Heath Stewart27-Feb-04 3:29
protectorHeath Stewart27-Feb-04 3:29 
GeneralRe: Array of Interfaces Pin
Werdna27-Feb-04 5:26
Werdna27-Feb-04 5:26 
Generaldatagrid to windows form Pin
ASGill26-Feb-04 17:27
ASGill26-Feb-04 17:27 
GeneralRe: datagrid to windows form Pin
Mazdak26-Feb-04 21:15
Mazdak26-Feb-04 21:15 
GeneralRe: datagrid to windows form Pin
ASGill28-Feb-04 15:38
ASGill28-Feb-04 15:38 
GeneralRe: datagrid to windows form Pin
Mazdak28-Feb-04 21:42
Mazdak28-Feb-04 21:42 
GeneralContext Menu Events Pin
BigBlob20226-Feb-04 16:53
BigBlob20226-Feb-04 16:53 
GeneralRe: Context Menu Events Pin
Nick Parker26-Feb-04 17:42
protectorNick Parker26-Feb-04 17:42 
GeneralRe: Context Menu Events Pin
BigBlob20226-Feb-04 18:02
BigBlob20226-Feb-04 18:02 
GeneralRe: Context Menu Events Pin
Nick Parker26-Feb-04 18:32
protectorNick Parker26-Feb-04 18:32 
GeneralRe: Context Menu Events Pin
BigBlob20227-Feb-04 7:49
BigBlob20227-Feb-04 7:49 
QuestionHow to gain access to a network share? Pin
Throckmorton26-Feb-04 14:44
Throckmorton26-Feb-04 14:44 
AnswerRe: How to gain access to a network share? Pin
Verdant12326-Feb-04 16:37
Verdant12326-Feb-04 16:37 
AnswerRe: How to gain access to a network share? Pin
Heath Stewart27-Feb-04 3:23
protectorHeath Stewart27-Feb-04 3:23 
QuestionHow to start a process within the current command window? Pin
Throckmorton26-Feb-04 13:59
Throckmorton26-Feb-04 13:59 

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.