Searching method in C#

  • Thread starter Thread starter Grey
  • Start date Start date
G

Grey

Can anyone suggest me some searching technique in C# such as binary searching as I am a newcomer of C#

Million Thanks...
 
Grey,

If you have a sorted array, you can call the static BinarySearch
function to search the array.

Or are you trying to implement a search algorithm in C#?


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Can anyone suggest me some searching technique in C# such as binary
searching as I am a newcomer of C#

Million Thanks...
 
Hi grey,

Searching what? A collection, an array?

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Can anyone suggest me some searching technique in C# such as binary searching as I am a newcomer of C#

Million Thanks...
 
Back
Top