How do you thank someone in public?

just say thankyou!