Public variable that does not appear in the inspector?

I know I’ve seen this before, but I totally don’t recall how to do this, and I don’t see the answer in the documentation.

How do I declare a public variable but set it so it does NOT show up in the inspector?

In C#.

I googled your topic:

[HideInInspector]
public int score;