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

Search:

Type: Posts; User: BigEd781

Search: Search took 0.90 seconds.

  1. Replies
    4
    Views
    7,718

    Re: System.InvalidOperationException

    You're welcome. I would suggest a couple more changes though...



    // I would make GetTicketsForOffline a static method instead of an instance method
    ArrayList arrList = new...
  2. Replies
    4
    Views
    7,718

    Re: System.InvalidOperationException

    1. Don't use ArrayList. That class has been obsolete since generics debuted in .NET 2.0
    2. You cannot serialize an ArrayList, hence the InvalidOperation exception. ArrayList is not a typed...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured