Re: ArrayList - Newbie Misunderstanding
- From: <kenfine@xxxxxxxxxxxxx>
- Date: Tue, 6 Jun 2006 11:32:28 -0700
No prob if you're not interested in C#. However, what you're dealing with
here is a conceptual thing, not a syntax thing, and the concept is
consistent across many programming languages. The book is useful whether you
want to use VB or C# or Java.
-K F
"mosscliffe" <page77.office@xxxxxxxxxxxxxx> wrote in message
news:1149581381.422952.191090@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks for the info, but I prefer to stay a VB man. I never did get the
point of VOID. If there is an equivalent VB book, then please let me
know, I do have the WROX Professional books on ASP and VB.
All I want is a simple example in VB preferably, of how I add
arraylists to an ArrayList in a Session(var) so that I can persist
those values throughout my site.
Thanks - Richard
kenfine@xxxxxxxxxxxxx wrote:
You need to check out a good book on this topic. You're getting into
"real
programming" concepts, and a good book will help.
Suggest you run and buy this:
http://www.amazon.com/gp/product/159059360X/002-1998483-8569669?v=glance&n=283155
Beginning C# Objects: From Concepts to Code.
Great book. Highly recommended if you're new to object and OO
programming.
-KF
"mosscliffe" <page77.office@xxxxxxxxxxxxxx> wrote in message
news:1149579316.059516.61520@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks for that info.
Is it possible you or someone could help with how I pass the object as
opposed to the reference , I am not grasping the difference.
sdbillsfan@xxxxxxxxx wrote:
You're thinking that you're passing a copy of the object to the
arraylist when you're actually passing the reference. You end up with
5
references to your fred object, which will of course all have the last
property values set in your loop.
mosscliffe wrote:
.
- Follow-Ups:
- Re: ArrayList - Newbie Misunderstanding
- From: mosscliffe
- Re: ArrayList - Newbie Misunderstanding
- References:
- ArrayList - Newbie Misunderstanding
- From: mosscliffe
- Re: ArrayList - Newbie Misunderstanding
- From: sdbillsfan
- Re: ArrayList - Newbie Misunderstanding
- From: mosscliffe
- Re: ArrayList - Newbie Misunderstanding
- From: kenfine
- Re: ArrayList - Newbie Misunderstanding
- From: mosscliffe
- ArrayList - Newbie Misunderstanding
- Prev by Date: Re: ASP NET service error
- Next by Date: Re: Session Data Lost on Response.Redirect with IIS 6.0
- Previous by thread: Re: ArrayList - Newbie Misunderstanding
- Next by thread: Re: ArrayList - Newbie Misunderstanding
- Index(es):
Relevant Pages
|