CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: cilu

Search: Search took 0.11 seconds.

  1. Replies
    7
    Views
    7,120

    Re: A list in a list

    It's not a stupid question. Yes, the name for your classes start with lower letters. That is because the name of the property collides with the name of the class. But you should name the property...
  2. Replies
    7
    Views
    7,120

    Re: A list in a list

    Then you should mention than and marked the threads resolved so that we don't waste the time providing answers that you already have.
  3. Replies
    7
    Views
    7,120

    Re: A list in a list

    Batch is a List of batch objects. Being a list, it's a reference type. You must allocate memory for it, otherwise it's just a null reference, hence your error.


    Products.Add(new product());...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured