C
C#3mo ago
Kapa._

✅ Binary Search

No matter what I input the binary search always returns a value of -1 , even if the number is within the array.
No description
No description
No description
4 Replies
Buddy
Buddy3mo ago
$debug
MODiX
MODiX3mo ago
Tutorial: Debug C# code and inspect data - Visual Studio (Windows)
Learn features of the Visual Studio debugger and how to start the debugger, step through code, and inspect data in a C# application.
Buddy
Buddy3mo ago
The importance of learning how to use the debugger is vital.
Kapa._
Kapa._3mo ago
i figured out that the binary search wouldnt work as the last sorting algorithmn would always be descending and so it wouldnt be able to search