Saying #3

public bool CheckCatchWorm(object Catchee, DateTime timeToTest)
{

if (Catchee.GetType() == typeof(Bird) && timeToTest.Hours < 7)

{ return true; }

else

{ return false;}

}

Leave a Reply

Your email address will not be published. Required fields are marked *