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

Search:

Type: Posts; User: Arjay

Search: Search took 0.35 seconds.

  1. Re: How to copy one element of a Generic Collection?

    Let's not over think this. :D

    Actually I wouldn't use the ICloneable interface at all because I would prefer to return a typesafe object. That way I wouldn't need to use a cast or 'as'.
  2. Re: How to copy one element of a Generic Collection?

    One approach is to write a copy constructor

    http://msdn.microsoft.com/en-us/library/ms173116(VS.80).aspx

    Then, use it.


    private List<CalculationResult> cantileverResults = new...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured