C
C#11mo 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
Buddy11mo ago
$debug
MODiX
MODiX11mo 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
Buddy11mo ago
The importance of learning how to use the debugger is vital.
Kapa._
Kapa._OP11mo 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

Did you find this page helpful?