Click here to Skip to main content
15,926,857 members
Home / Discussions / C#
   

C#

 
GeneralRe: Reading Excel Data in C# Pin
Heath Stewart18-Jun-04 4:01
protectorHeath Stewart18-Jun-04 4:01 
GeneralOwn Error Message Pin
visitsaadi18-Jun-04 1:41
visitsaadi18-Jun-04 1:41 
GeneralRe: Own Error Message Pin
Stefan Troschuetz18-Jun-04 1:53
Stefan Troschuetz18-Jun-04 1:53 
GeneralRe: Own Error Message Pin
Dave Kreskowiak18-Jun-04 3:49
mveDave Kreskowiak18-Jun-04 3:49 
Questionwhere are you Michael W. McKechney? Pin
DawnYoshimura18-Jun-04 1:11
DawnYoshimura18-Jun-04 1:11 
AnswerRe: where are you Michael W. McKechney? Pin
Michael P Butler18-Jun-04 5:00
Michael P Butler18-Jun-04 5:00 
GeneralCreating Typesafe Collections Pin
matthias s.18-Jun-04 0:53
matthias s.18-Jun-04 0:53 
GeneralRe: Creating Typesafe Collections Pin
Heath Stewart18-Jun-04 3:55
protectorHeath Stewart18-Jun-04 3:55 
Take a look at the CollectionBase. It already has two properties - both protected - to access the underlying ArrayList. It also has On* methods defined that will be called when you use the List property, but they will not be called when you use the InnerList property. This is handy if you want to define events for when the collection changes.

It's a good starting point for a typed collection, since you can define the methods that take a typed object (whatever type you're collecting) and call the explicit interface methods (like IList.Add), so that it appears as a typed collection. Explicit interface methods are how many classes in the .NET Framework Class Library - including classes in System.Data.* and System.Collections.* - appear to take a specific type as a parameter even though they implement interfaces that must access an object.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Creating Typesafe Collections Pin
gokselm18-Jun-04 6:32
gokselm18-Jun-04 6:32 
GeneralRe: Creating Typesafe Collections Pin
Werdna18-Jun-04 10:36
Werdna18-Jun-04 10:36 
GeneralIHTMLDocument2 to UCOMIPersistFile Conversion Pin
lags200517-Jun-04 21:13
lags200517-Jun-04 21:13 
GeneralRe: IHTMLDocument2 to UCOMIPersistFile Conversion Pin
Heath Stewart18-Jun-04 3:51
protectorHeath Stewart18-Jun-04 3:51 
Generalproblem with CSharpCodeProvider Pin
CWIZO17-Jun-04 20:40
CWIZO17-Jun-04 20:40 
GeneralRe: problem with CSharpCodeProvider Pin
CWIZO18-Jun-04 2:39
CWIZO18-Jun-04 2:39 
GeneralButton styles in C#(3D effect) Pin
Freemasons17-Jun-04 20:39
Freemasons17-Jun-04 20:39 
GeneralRe: Button styles in C#(3D effect) Pin
Dave Kreskowiak18-Jun-04 3:41
mveDave Kreskowiak18-Jun-04 3:41 
GeneralRe: Button styles in C#(3D effect) Pin
Freemasons18-Jun-04 20:29
Freemasons18-Jun-04 20:29 
GeneralRe: Button styles in C#(3D effect) Pin
Dave Kreskowiak19-Jun-04 6:13
mveDave Kreskowiak19-Jun-04 6:13 
QuestionC# or JavaME? Which one is better for pocket PC game development? Pin
Link260017-Jun-04 19:05
Link260017-Jun-04 19:05 
AnswerRe: C# or JavaME? Which one is better for pocket PC game development? Pin
fayth17-Jun-04 19:37
fayth17-Jun-04 19:37 
AnswerRe: C# or JavaME? Which one is better for pocket PC game development? Pin
eggie517-Jun-04 23:02
eggie517-Jun-04 23:02 
GeneralMarshalling Return type as LPArray from C# Pin
rana7417-Jun-04 15:45
rana7417-Jun-04 15:45 
GeneralRe: Marshalling Return type as LPArray from C# Pin
Heath Stewart17-Jun-04 17:37
protectorHeath Stewart17-Jun-04 17:37 
GeneralRe: Marshalling Return type as LPArray from C# Pin
eggie517-Jun-04 21:25
eggie517-Jun-04 21:25 
GeneralRe: Marshalling Return type as LPArray from C# Pin
Heath Stewart18-Jun-04 3:36
protectorHeath Stewart18-Jun-04 3:36 

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.