Calling a GameObject method directly or through its instance,should a GameObject method be called through its instance?

Should a GameObject method be called through its instance or directly? To me these look the same but I am not sure if there is some pitfall here that I am unaware of. Is there any benefit of calling a GameObject method over the other here?

icon.gameObject.SetActive(false);

vs

icon.SetActive(false);

Thanks

Nope, there is no difference. Unless you get a syntax error, requiring a gameObject call. But if it works without it, then no need(it is just redundant).