Re: How to Type cast ArrayList items to class objects
- From: "budy_ludy" <sent2alex@xxxxxxxxx>
- Date: 1 Sep 2006 08:32:48 -0700
ok got the point, i will reuse the vb class in c# and from the c#
library i will return the class object and in vb i will type cast the
returned arraylist item to vb class.
Thank you to all.
Chris Dunaway wrote:
budy_ludy wrote:
Chris Dunaway,
which means i cannot cast a c# class to vb class even though they share
same structure,
Exactly. Just use the C# class and add the function that you need to
that or if you need it in VB or cannot alter the C# class, then in your
VB class, just inherit from the C# class then you can add your function
in VB plus you will be able to cast from the C# class to the VB class.
.
- References:
- Re: How to Type cast ArrayList items to class objects
- From: Dennis
- Re: How to Type cast ArrayList items to class objects
- From: budy_ludy
- Re: How to Type cast ArrayList items to class objects
- From: Kerry Moorman
- Re: How to Type cast ArrayList items to class objects
- From: budy_ludy
- Re: How to Type cast ArrayList items to class objects
- From: Chris Dunaway
- Re: How to Type cast ArrayList items to class objects
- From: budy_ludy
- Re: How to Type cast ArrayList items to class objects
- From: Chris Dunaway
- Re: How to Type cast ArrayList items to class objects
- Prev by Date: Re: Strange Datagrid Behavior
- Next by Date: Re: Appending text to an array of textboxes
- Previous by thread: Re: How to Type cast ArrayList items to class objects
- Next by thread: Re: How to Type cast ArrayList items to class objects
- Index(es):
Relevant Pages
|