This can be an important question.
For dance, Yoga or stretching:
Wear comfortable form-fitting clothes that let you move freely. Additionally you may use a hip scarf (bring your own or purchase from instructor before class).
It is encouraged that you exercise barefoot or in non-slip socks. If that is uncomfortable, dance sneakers or comfortable athletic shoes with a flexible sole or soft dance shoes.