Click here to Skip to main content
15,890,043 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to write merge sort programming in c sharp???
Posted
Updated 9-Oct-12 8:17am
v3
Comments
Ashraff Ali Wahab 9-Oct-12 14:20pm    
The merge sort algorithm is clearly explained in wikipedia "http://en.wikipedia.org/wiki/Merge_sort"

It is not that difficult to write in C# once you understand the algorithm and have basic knowledge of C# language.
Sergey Alexandrovich Kryukov 9-Oct-12 16:18pm    
Best answer so far. I would up-vote it if you answered using "Add your solution here" :-)
--SA

519,000[^] results are saying. Come, read and learn. Google is there to help you and is your friend. Visit him often.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 9-Oct-12 16:19pm    
Fair enough, my 5.
Note that I still consider the answer by Ashraff Ali Wahab as the best; please see the comments to the question above. :-)
--SA
Mohammad A Rahman 9-Oct-12 19:16pm    
good answer :)
Sarvesh Kushwaha 10-Oct-12 1:45am    
Do some R&D before asking anything ...show some dedication that you want to learn .we are here to help you guys , its does'nt mean we will do your home work .
The comment (or the answer) provided by Ashraff Ali Wahab tells you about the theoretical part of the algorithm which is great. You might have a look this page Sorting Algorithms Codes in C#.NET[^]. It will help you to start.

The answer given by Marcus is also good, as you could quickly search the google. Research with the problem is really good learning process. All the best in learning Mergesort:)
 
Share this answer
 
here you will get the code -

you will never forget problems's solution if you will learn from them and will do some effort to solve your problem .everytime you won't get the code for your problems . my wishesh is with you ..keep learning


Merge Sort[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900