Re: ArrayList - Newbie Misunderstanding

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




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:




.



Relevant Pages

  • Re: ArrayList - Newbie Misunderstanding
    ... point of VOID. ... arraylists to an ArrayList in a Sessionso that I can persist ... Highly recommended if you're new to object and OO programming. ... opposed to the reference, I am not grasping the difference. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: VS2005 C#: User Testing
    ... The type or namespace name 'Drawing' does not exist in the namespace ... 'System' (are you missing an assembly reference?) ... Run it again, as now it should find it as a resource, and not be trying ... Studio altogether, not knew to programming. ...
    (microsoft.public.vstudio.general)
  • Re: My professor said NEVER pass by reference. Your opinions please?
    ... I think he didn't say that you should never pass by reference. ... a specific reason to - at least according to the quote below. ... I've been talking about the fact I think he may be an idiot for some time now. ... I was certainly an idiot when it came to the VCR, but I think I can hold my own when it comes to programming. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: VB.net 03, run one project from another
    ... Answer you question about how to reference an assembly? ... Show you how a simple Google search can help you get to the answer you ... "Scott M." wrote: ... I am also self taught thus far with programming. ...
    (microsoft.public.dotnet.general)
  • Re: VB.net 03, run one project from another
    ... Thanks you so much for your assistance and actually helping to answer ... Then you add a reference to that project for the other two ... "Scott M." wrote: ... I am also self taught thus far with programming. ...
    (microsoft.public.dotnet.general)