Search
Setup for Free
C
C#
•
2y 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
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,164
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
B
Buddy
•
3/20/24, 4:50 PM
$debug
B
Buddy
$debug
M
MODiX
•
3/20/24, 4:50 PM
https://docs.microsoft.com/en-us/visualstudio/get-started/csharp/tutorial-debugger?view=vs-2022
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
.
B
Buddy
•
3/20/24, 4:51 PM
The importance of learning how to use the debugger is vital
.
B
Buddy
The importance of learning how to use the debugger is vital.
K
Kapa._
OP
•
3/20/24, 5:21 PM
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
Similar Threads
✅ Binary Search Tree
C
C# / help
3y ago
❔ Learning binary searching
C
C# / help
3y ago
✅ Comprehension questions (LeetCode Binary Search)
C
C# / help
3y ago