Click here to Skip to main content
15,890,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: Combobox update doesn't work ... Pin
Tom1017-Oct-03 7:36
Tom1017-Oct-03 7:36 
GeneralPrinting the content of a ArrayList Pin
swordcoast6-Oct-03 20:03
swordcoast6-Oct-03 20:03 
GeneralRe: Printing the content of a ArrayList Pin
Corinna John6-Oct-03 21:09
Corinna John6-Oct-03 21:09 
GeneralRe: Printing the content of a ArrayList Pin
swordcoast7-Oct-03 0:04
swordcoast7-Oct-03 0:04 
GeneralRe: Printing the content of a ArrayList Pin
Corinna John7-Oct-03 1:12
Corinna John7-Oct-03 1:12 
GeneralRe: Printing the content of a ArrayList Pin
swordcoast7-Oct-03 21:53
swordcoast7-Oct-03 21:53 
GeneralThe C# equivalent of an STL Pin
vylkier6-Oct-03 15:46
vylkier6-Oct-03 15:46 
GeneralRe: The C# equivalent of an STL Pin
J. Dunlap6-Oct-03 16:24
J. Dunlap6-Oct-03 16:24 
vylkier wrote:
but i want to know if there is anway to make them return anything other than object

Just create a new collection class inherited from CollectionBase, and set its method data types to the data type you want.


vylkier wrote:
for instance if i have a multi level vector... er arraylist how can i make it so that i can say:

fu[i].bar[j].symbol = 6;

ok its not a real example but it is something that i would like to be able to do


Hmm... I don't quite understand what you're trying to do here... are you wanting to be able to access the object through its own type rather than through the object type? If so, then the method above will work well for this.


vylkier wrote:
i played with the get type function since it will return something's original type (before casting to say object) but it requiers a ';' after it so that didn't work (example of what i hoped would work ...
get {return (array_name[index].getType())[index];}
...)


Hmm... that should be GetType() not getType() . Other than that, it should work, except what's that extra ')' for?


"What lies behind us and what lies before us are small matters compared to what lies within us." -- Ralph Waldo Emerson

FLUID UI Toolkit | FloodFill in C# & GDI+







GeneralRe: The C# equivalent of an STL Pin
Nick Parker6-Oct-03 17:47
protectorNick Parker6-Oct-03 17:47 
GeneralWrapping lines of code Pin
aka the guy6-Oct-03 14:57
aka the guy6-Oct-03 14:57 
GeneralRe: Wrapping lines of code Pin
leppie6-Oct-03 15:13
leppie6-Oct-03 15:13 
GeneralRe: Wrapping lines of code Pin
aka the guy6-Oct-03 15:16
aka the guy6-Oct-03 15:16 
GeneralRe: Wrapping lines of code Pin
Mike Ellison6-Oct-03 15:31
Mike Ellison6-Oct-03 15:31 
GeneralRe: Wrapping lines of code Pin
Philip Fitzsimons7-Oct-03 2:56
Philip Fitzsimons7-Oct-03 2:56 
GeneralA Design Question. Pin
jtmtv186-Oct-03 14:29
jtmtv186-Oct-03 14:29 
GeneralRe: A Design Question. Pin
akak19977-Oct-03 11:00
akak19977-Oct-03 11:00 
GeneralRe: A Design Question. Pin
jtmtv187-Oct-03 13:05
jtmtv187-Oct-03 13:05 
GeneralRe: A Design Question. Pin
David Stone7-Oct-03 13:19
sitebuilderDavid Stone7-Oct-03 13:19 
GeneralRe: A Design Question. Pin
jtmtv187-Oct-03 13:51
jtmtv187-Oct-03 13:51 
GeneralQuestion about reflection... Pin
Kryal6-Oct-03 12:56
Kryal6-Oct-03 12:56 
GeneralRe: Question about reflection... Pin
leppie6-Oct-03 15:17
leppie6-Oct-03 15:17 
GeneralRe: Question about reflection... Pin
Blake Coverett6-Oct-03 20:20
Blake Coverett6-Oct-03 20:20 
GeneralPheonix Pin
leppie7-Oct-03 7:45
leppie7-Oct-03 7:45 
GeneralRe: Pheonix Pin
Blake Coverett7-Oct-03 15:43
Blake Coverett7-Oct-03 15:43 
GeneralBEGINNER: Help with messaging Pin
BambooMoon6-Oct-03 12:52
BambooMoon6-Oct-03 12:52 

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.