Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Computer Science Algorithms: Sorting and Searching Sorting Algorithms Code for Bogosort

Carel Du Plessis
PLUS
Carel Du Plessis
Courses Plus Student 16,356 Points

Can i see this example in C# (Instruction Code for Bogosort)

Hi

Can I see the Bogosort in C#

1 Answer

Balazs Peak
Balazs Peak
46,160 Points

You will most definitely be able to find them on the internet. These algorithms are common parts of curriculum at computer science courses, you will find plenty of implementations in C#.

Just search for all the names with C# attached to it, for example: "Merge sort implemented in C#"

As you can see, it brings several hits, for example:

https://www.w3resource.com/csharp-exercises/searching-and-sorting-algorithm/searching-and-sorting-algorithm-exercise-7.php