How to Sort Arrays in C#

If you have created an array of integers or strings in C# and you want to sort it quickly You can use static method of Array class.

int[] ar = { 3, 1, 2, 7, 5, 4, 6 }; 




About author

User avatar

Waqas Anwar

Founder of, Senior Consultant, Microsoft .NET and Web Technologies