public bool IsEmpty()
{
if (this.Rear == -1)
{
return true;
}
else
{
return false;
}
}
Pretty self explanatory, this method returns a bool indicating whether the queue instance has any values or not.