Click here to Skip to main content
15,889,863 members
Home / Discussions / C#
   

C#

 
GeneralAdministrate Indexing Server via Web App Pin
Muhammad Nauman Yousuf5-Apr-08 0:56
Muhammad Nauman Yousuf5-Apr-08 0:56 
GeneralBlocking certain website Pin
the pink jedi4-Apr-08 19:57
the pink jedi4-Apr-08 19:57 
GeneralRe: Blocking certain website Pin
Thomas Stockwell5-Apr-08 14:22
professionalThomas Stockwell5-Apr-08 14:22 
Generali need ole total collection and data type Pin
badshah20054-Apr-08 11:57
badshah20054-Apr-08 11:57 
GeneralRe: i need ole total collection and data type Pin
Rick van Woudenberg4-Apr-08 12:12
Rick van Woudenberg4-Apr-08 12:12 
Generalcompare byte array Pin
baranils4-Apr-08 11:37
baranils4-Apr-08 11:37 
GeneralRe: compare byte array Pin
MidwestLimey4-Apr-08 11:55
professionalMidwestLimey4-Apr-08 11:55 
GeneralRe: compare byte array Pin
Rick van Woudenberg4-Apr-08 11:55
Rick van Woudenberg4-Apr-08 11:55 
Hey Smile | :)

try this :

public static bool ArraysEqual(byte[] by1, byte[] by2)<br />
{<br />
if ( by1 == null )<br />
throw new ArgumentNullException("by1");<br />
if ( by2 == null )<br />
throw new ArgumentNullException("by2");<br />
<br />
if ( by1.Length != by2.Length )<br />
return false;<br />
<br />
for(int i=0; i < by1.Length; i++)<br />
{<br />
if ( by1[i] != by2[i] )<br />
return false;<br />
}<br />
return true;<br />
}<br />


Hope this helps
Cheers Big Grin | :-D
GeneralRe: compare byte array Pin
baranils4-Apr-08 19:42
baranils4-Apr-08 19:42 
GeneralBinaryRreader The string is prefixed with the length, encoded as an integer seven bits at a time Pin
baranils4-Apr-08 10:18
baranils4-Apr-08 10:18 
GeneralRe: BinaryRreader The string is prefixed with the length, encoded as an integer seven bits at a time Pin
KaptinKrunch4-Apr-08 10:31
KaptinKrunch4-Apr-08 10:31 
GeneralRe: BinaryRreader The string is prefixed with the length, encoded as an integer seven bits at a time Pin
baranils4-Apr-08 10:50
baranils4-Apr-08 10:50 
GeneralRe: BinaryRreader The string is prefixed with the length, encoded as an integer seven bits at a time Pin
Zoltan Balazs4-Apr-08 11:16
Zoltan Balazs4-Apr-08 11:16 
GeneralRe: BinaryRreader The string is prefixed with the length, encoded as an integer seven bits at a time Pin
baranils4-Apr-08 11:35
baranils4-Apr-08 11:35 
GeneralFlops Pin
snorkie4-Apr-08 9:49
professionalsnorkie4-Apr-08 9:49 
GeneralRe: Flops Pin
Rick van Woudenberg4-Apr-08 9:57
Rick van Woudenberg4-Apr-08 9:57 
GeneralRe: Flops Pin
snorkie4-Apr-08 9:59
professionalsnorkie4-Apr-08 9:59 
GeneralRe: Flops Pin
Pete O'Hanlon4-Apr-08 10:07
mvePete O'Hanlon4-Apr-08 10:07 
GeneralRe: Flops Pin
KaptinKrunch4-Apr-08 10:09
KaptinKrunch4-Apr-08 10:09 
GeneralRe: Flops Pin
snorkie4-Apr-08 10:17
professionalsnorkie4-Apr-08 10:17 
GeneralRe: Flops Pin
Dave Kreskowiak4-Apr-08 10:13
mveDave Kreskowiak4-Apr-08 10:13 
GeneralRe: Flops Pin
Rick van Woudenberg4-Apr-08 10:25
Rick van Woudenberg4-Apr-08 10:25 
GeneralRe: Flops Pin
led mike4-Apr-08 11:11
led mike4-Apr-08 11:11 
GeneralRe: Flops Pin
Zoltan Balazs4-Apr-08 11:20
Zoltan Balazs4-Apr-08 11:20 
GeneralRe: Flops Pin
MidwestLimey4-Apr-08 12:10
professionalMidwestLimey4-Apr-08 12:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.