How do I use a byte in an if statement?


public byte MyByte;

if (MyByte)
{
//Code here;
}