Need help with if function - C#