what is the correct code for sound in c# ?

GetComponent.AudioSource().Play(); is not working because it is giving me the following error :
Expression denotes a method group', where a variable’, value' or type’ was expected

GetComponent is a function and its synthax needs parenthesis.

GetComponent<AudioSource>().Play();