Formal:
* 贵姓? (guìxìng?) - This literally translates to "What is your honorable surname?" This is the most polite and formal way to ask someone's name, especially in business or formal settings.
* 请问贵姓大名? (qǐngwèn guìxìng dàmíng?) - This translates to "May I ask your honorable surname and full name?" This is even more formal than just asking "贵姓" and is appropriate for very formal occasions.
Informal:
* 你叫什么名字? (nǐ jiào shénme míngzi?) - This translates to "What is your name?" This is a common and casual way to ask someone's name.
* 你叫什么? (nǐ jiào shénme?) - This translates to "What do you call yourself?" This is a more informal and casual way to ask someone's name.
When introducing yourself:
* 我叫... (wǒ jiào...) - This means "My name is..." and you would then follow with your name.
Remember to use the appropriate form of address based on the context.