Click here to Skip to main content
15,881,882 members
Home / Discussions / C#
   

C#

 
GeneralRe: password checking Pin
Heath Stewart2-Feb-04 3:15
protectorHeath Stewart2-Feb-04 3:15 
GeneralC# Standard Template Library Pin
TeamWild2-Feb-04 1:11
TeamWild2-Feb-04 1:11 
GeneralRe: C# Standard Template Library Pin
Colin Angus Mackay2-Feb-04 1:36
Colin Angus Mackay2-Feb-04 1:36 
GeneralRe: C# Standard Template Library Pin
TeamWild2-Feb-04 2:00
TeamWild2-Feb-04 2:00 
GeneralRe: C# Standard Template Library Pin
Colin Angus Mackay2-Feb-04 2:35
Colin Angus Mackay2-Feb-04 2:35 
GeneralRe: C# Standard Template Library Pin
Judah Gabriel Himango2-Feb-04 8:25
sponsorJudah Gabriel Himango2-Feb-04 8:25 
GeneralRe: C# Standard Template Library Pin
Nemanja Trifunovic2-Feb-04 12:07
Nemanja Trifunovic2-Feb-04 12:07 
GeneralRe: C# Standard Template Library Pin
Heath Stewart2-Feb-04 3:04
protectorHeath Stewart2-Feb-04 3:04 
You can always use a generic collection or list class like ArrayList. It won't give you strongly-typed params (also, C# isn't strongly-typed, .NET is), but .NET is a true object-oriented framework and adding, for example, a Control to an ArrayList (which accepts Objects) is still a Control in the list. GetType (inheritted from Object) will always return the right Type.

I realize this is probably not what you want and as Colin said, .NET 2.0 (due to release in late 2004 I would imagine, since the end of the year was the release date for 1.0 and 1.1) will include generics. I just wanted to point out that you don't need to worry about using appropriately Typed parameters. After all, when you extend the CollectionBase class and use either List or InnerList (and if you don't, then don't waste time by deriving from CollectionBase), both of those are an instance of the same ArrayList.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: C# Standard Template Library Pin
boogs2-Feb-04 9:01
boogs2-Feb-04 9:01 
GeneralClickety Pin
Colin Angus Mackay2-Feb-04 11:57
Colin Angus Mackay2-Feb-04 11:57 
GeneralButtons in DataGrid Pin
Lyubomir Naydenov2-Feb-04 0:39
Lyubomir Naydenov2-Feb-04 0:39 
GeneralRe: Buttons in DataGrid Pin
Mazdak2-Feb-04 0:50
Mazdak2-Feb-04 0:50 
GeneralRe: Buttons in DataGrid Pin
Heath Stewart2-Feb-04 3:20
protectorHeath Stewart2-Feb-04 3:20 
GeneralRe: Buttons in DataGrid Pin
Lyubomir Naydenov2-Feb-04 9:42
Lyubomir Naydenov2-Feb-04 9:42 
QuestionEasy URL Query parsing? Pin
3ddA2-Feb-04 0:08
3ddA2-Feb-04 0:08 
AnswerRe: Easy URL Query parsing? Pin
Heath Stewart2-Feb-04 3:27
protectorHeath Stewart2-Feb-04 3:27 
GeneralRe: Easy URL Query parsing? Pin
3ddA2-Feb-04 6:55
3ddA2-Feb-04 6:55 
GeneralLaunching mail client, open new message and add attachments Pin
jewlin1-Feb-04 23:29
jewlin1-Feb-04 23:29 
GeneralRe: Launching mail client, open new message and add attachments Pin
Heath Stewart2-Feb-04 3:31
protectorHeath Stewart2-Feb-04 3:31 
GeneralRe: Launching mail client, open new message and add attachments Pin
jewlin2-Feb-04 4:48
jewlin2-Feb-04 4:48 
GeneralRe: Launching mail client, open new message and add attachments Pin
Heath Stewart2-Feb-04 5:36
protectorHeath Stewart2-Feb-04 5:36 
GeneralLets start with serious things... Pin
bouli1-Feb-04 23:22
bouli1-Feb-04 23:22 
GeneralRe: Lets start with serious things... Pin
Michael P Butler1-Feb-04 23:46
Michael P Butler1-Feb-04 23:46 
GeneralAdd files to media player Pin
Fleischen1-Feb-04 23:21
Fleischen1-Feb-04 23:21 
GeneralRe: Add files to media player Pin
Fleischen2-Feb-04 3:29
Fleischen2-Feb-04 3:29 

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.