Wednesday, January 28, 2009

Example of getting value in Bytes

byte y = 5;
Console.WriteLine("The original value of y = " + y);
Console.WriteLine("The value of y in bytes = " + (byte)~y);
Console.ReadLine();

No comments:

Post a Comment