Does Array.sort changes references in C#?

Posted by Gulshan on Stack Overflow See other posts from Stack Overflow or by Gulshan
Published on 2010-04-28T03:42:14Z Indexed on 2010/04/28 3:43 UTC
Read the original article Hit count: 366

Filed under:
|
|
|

In my C# code, I have a array of objects. And many of these objects are referenced in another class. If Array.sort method is used to somehow sort this array of objects, then will it affect those references? Is it same for the arrays and lists?

© Stack Overflow or respective owner

Related posts about c#

Related posts about sort