How To Hide List On Inspector?

i can hide any public variable on inspector using hide attribute, but i cant find d way to hide List, please help


Use [HideInInspector] just above the declaration of the List. This is all it took for me to hide the List in the Inspector.

public List<int> intList = new List<int>();