The Clone() method returns a new array (a shallow copy) object containing all the elements in the original array.
The CopyTo() method copies the elements into another existing array. Both perform a shallow copy.
Popular Posts
-
Facebook Chat Emoticons (Smileys) shortcuts Here is the list of all smiley keyboard shortcuts for Facebook chat. Enjoy!
-
make the DLL COM Visible and register the dll in Windows, otherwise it won't appear in Tools/References. Here are some references htt...
-
to register all dlls in a folder go to the folder and execute the following command: for %i in (*.dll) do regsvr32 %i replac...
-
This is the frustrating error we get: Microsoft Excel cannot access the file D:\mypath\myexcelfile.xlsx. There are several possible reas...
-
Create the stored procedure sp_generate_insert_script (You could you any other name you think you could remember easily. I prefer "zin...
-
Recently I'd observed an issue where the outlook would take forever to download new mails and just kept saying "Updating this folde...
-
Create the following stored procedure in your database: ---------------------- CREATE PROC sp_SelectFromTable @tbl VARCHAR (128) AS E...
-
The Clone() method returns a new array (a shallow copy) object containing all the elements in the original array. The CopyTo() method copies...
-
This link lists down all the SQL Server Management Studio Keyboard Shortcuts SQL Server Management Studio Keyboard Shortcuts http://msdn.m...
-
SELECT TOP (100) PERCENT OBJECT_NAME(d.object_id) AS SP_Or_Function, OBJECT_NAME(d.referenced_major_id) AS TableReferenced FROM sys.sql_depe...
Friday, January 21, 2011
What is the difference between System.Array.CopyTo and System.Array.Clone in .NET?
Labels:
C#,
clone,
copyto,
difference,
dot net
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment