Click here to Skip to main content
15,928,207 members
Home / Discussions / C#
   

C#

 
GeneralRe: serializing in c#.net Pin
Stefan Troschuetz21-Jun-04 20:44
Stefan Troschuetz21-Jun-04 20:44 
GeneralJava script in c# Pin
_Searcher_21-Jun-04 5:53
_Searcher_21-Jun-04 5:53 
GeneralRe: Java script in c# Pin
Dave Kreskowiak21-Jun-04 6:10
mveDave Kreskowiak21-Jun-04 6:10 
GeneralAttempting to implement Keyed MD-5 Hash Pin
selil21-Jun-04 5:29
selil21-Jun-04 5:29 
GeneralRe: Attempting to implement Keyed MD-5 Hash Pin
Heath Stewart21-Jun-04 5:42
protectorHeath Stewart21-Jun-04 5:42 
GeneralRe: Attempting to implement Keyed MD-5 Hash Pin
selil21-Jun-04 6:00
selil21-Jun-04 6:00 
GeneralRe: Attempting to implement Keyed MD-5 Hash Pin
Heath Stewart21-Jun-04 6:34
protectorHeath Stewart21-Jun-04 6:34 
GeneralRe: Attempting to implement Keyed MD-5 Hash Pin
Dave Kreskowiak21-Jun-04 5:52
mveDave Kreskowiak21-Jun-04 5:52 
selil wrote:
static private void PrintByteArray(Byte[] arr)
{
int i;
Console.WriteLine("Length: " + arr.Length);
for (i=0; i {
Console.Write("{0:X}", arr[i]);
Console.Write(" ");
if ( (i+9)%8 == 0 ) Console.WriteLine();
}
if (i%8 != 0) Console.WriteLine();
}


This is happening because the format specifier in {0:X} is dropping the leading zero. The value is represented with the leading zero (obviously, since the value is 2), but the leading zero is just not printed.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Attempting to implement Keyed MD-5 Hash Pin
selil21-Jun-04 6:10
selil21-Jun-04 6:10 
QuestionHow to use proertyGrid to show html componet's property? Pin
nakey_yang21-Jun-04 5:28
nakey_yang21-Jun-04 5:28 
AnswerRe: How to use proertyGrid to show html componet's property? Pin
Heath Stewart21-Jun-04 5:35
protectorHeath Stewart21-Jun-04 5:35 
Generalusing xmodem protocol for file transfer in dotnet(c#) Pin
son_sant21-Jun-04 5:20
son_sant21-Jun-04 5:20 
GeneralRe: using xmodem protocol for file transfer in dotnet(c#) Pin
Heath Stewart21-Jun-04 5:33
protectorHeath Stewart21-Jun-04 5:33 
QuestionExplorer DragImage? Pin
TylerBrinks21-Jun-04 4:47
TylerBrinks21-Jun-04 4:47 
AnswerRe: Explorer DragImage? Pin
Heath Stewart21-Jun-04 5:05
protectorHeath Stewart21-Jun-04 5:05 
GeneralRe: Explorer DragImage? Pin
TylerBrinks21-Jun-04 11:35
TylerBrinks21-Jun-04 11:35 
GeneralRe: Explorer DragImage? Pin
Heath Stewart21-Jun-04 11:42
protectorHeath Stewart21-Jun-04 11:42 
GeneralRe: Explorer DragImage? Pin
TylerBrinks21-Jun-04 11:52
TylerBrinks21-Jun-04 11:52 
GeneralRe: Explorer DragImage? Pin
Heath Stewart21-Jun-04 11:58
protectorHeath Stewart21-Jun-04 11:58 
GeneralRe: Explorer DragImage? Pin
TylerBrinks22-Jun-04 5:32
TylerBrinks22-Jun-04 5:32 
GeneralRe: Explorer DragImage? Pin
Heath Stewart22-Jun-04 5:43
protectorHeath Stewart22-Jun-04 5:43 
GeneralRe: Explorer DragImage? Pin
TylerBrinks22-Jun-04 6:10
TylerBrinks22-Jun-04 6:10 
Generalwebbrowser control - visual styles Pin
einar jonsson21-Jun-04 4:38
einar jonsson21-Jun-04 4:38 
GeneralRe: webbrowser control - visual styles Pin
Nick Parker21-Jun-04 4:46
protectorNick Parker21-Jun-04 4:46 
GeneralRe: webbrowser control - visual styles Pin
einar jonsson21-Jun-04 4:52
einar jonsson21-Jun-04 4:52 

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.