Breakdown of Me gusta bailar contigo.
contigo
with you
me
to me / myself (reflexive) / me (direct object)
gustar
to like
bailar
to dance
Questions & Answers about Me gusta bailar contigo.
Why do we use Me gusta instead of saying Yo gusto?
In Spanish, verbs like gustar work backwards compared to English. Instead of saying I like to dance, you are actually saying to dance is pleasing to me. The Me part is an indirect object pronoun that simply means to me.
Why doesn't the verb end in -o like gusto if I am the one talking?
With gustar, the verb matches the thing you like, not the person who likes it. The thing you like here is the action bailar. When you like doing an action, you always use the singular form of the verb, which is gusta.
Do I need to conjugate bailar to match who is dancing?
No, you leave it in its base dictionary form, called the infinitive. Because you are talking about the general action of dancing as the subject that pleases you, it must stay as bailar.