Ok, trying to say if value is equal to 0 don't add but brain fart

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;

public class Gold : MonoBehaviour
{
public static int goldObtained = 0;
public TMP_Text textNoCollected;
public int goldAmount;

{
    ShopManagerScript.goldObtained += goldAmount;
    textNoCollected.text = "Gold : " + ShopManagerScript.goldObtained;
    if (ShopManagerScript.crops >= 0;)
    {
        !ShopManagerScript.goldObtained += goldAmount;
    }
}

// Update is called once per frame
void Update()
{
    
}

}
The rest of the code works but the !add gold.

If you don’t want something to happen simply don’t write about it? Instead if(value!=0){ do something here that you want it to happen}