byte binary operation
In this chapter you will learn:
Byte value binary and operation
using System;//from ja v a2 s . c o m
public class Example
{
public static void Main()
{
byte mask = 0xFE;
Byte byteValue = 12;
Console.WriteLine("{0} And {1} = {2}",
byteValue, mask, byteValue & mask);
}
}
Next chapter...
What you will learn in the next chapter:
Home » C# Tutorial » Byte, Integer, Long