Or, more explicitly, you can do an array copy like:
public IntArray(int[] myIntArray)
{
//Create two new arrays
this.myIntArray = new int[myIntArray.Length];
...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: BioPhysEngr Search: Search took 0.02 seconds.
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |