Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Searching method in C#

0 views
Skip to first unread message

Grey

unread,
Mar 9, 2004, 4:19:30 AM3/9/04
to
Can anyone suggest me some searching technique in C# such as binary searching as I am a newcomer of C#
 
Million Thanks...

Nicholas Paldino [.NET/C# MVP]

unread,
Mar 9, 2004, 8:45:01 AM3/9/04
to
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]
- m...@spam.guard.caspershouse.com

"Grey" <eri...@i-cable.com> wrote in message
news:%23sYtieb...@TK2MSFTNGP10.phx.gbl...

Ignacio Machin \( .NET/ C# MVP \)

unread,
Mar 9, 2004, 9:12:25 AM3/9/04
to
Hi grey,
 
Searching what? A collection, an array?
 
Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
0 new messages