I just [learnt](https://japanese.stackexchange.com/a/14453/107) that
「名前は何ですか。」 sounds non-native.

What would sound more natural?  
Let's say I am addressing a friend of a friend, same age, after a futsal game
where we talked together without being formally introduced.
CC BY-SA 3.0
2014-02-10T09:20:33.327
14454
2014-02-12T00:57:43.170
2017-04-13T12:43:48.447
-1
107
question
word-choice questions
Casually asking for a person's name, more natural than 名前は何ですか。
To take the "casually" part literally, you could say:

「（お）[名前]{なまえ}は？」

「（お）名前、[聞]{き}いてもいい（かな）？」 or 「（お）名前聞いてもいいっすか？」

「なにさんって[呼]{よ}んだらいいのかな？」 or 「なにさんって呼んだらいいっすか？」

「（お）名前[教]{おし}えてもらえる（かな）？」

, etc.
CC BY-SA 3.0
2014-02-10T10:35:28.640
14455
2014-02-10T10:35:28.640
14454
answer
Just to add to Tokyo Nagoya's answer, I thought it'd be useful to mention that
"名前は何ですか" is perfectly grammatical, and the reason that it can sound non-
native is cultural.

Japanese tend to avoid questions that are too direct. Especially, the 何 can
sound a bit direct or crude.

One way to get around this is to ask in a different way, as Tokyo Nagoya
suggests. Note that all his suggestions avoid using 何.

Also note that Japanese people will (in general, not all situations) feel less
of a need to know your name than would be the case in many western cultures.
You could be called 先生、お兄さん、おじちゃん、彼、旦那さん (if you're a guy) depending on your
age, your status and the situation.

It's also not uncommon that someone will ask your friend or partner for your
name in front of you (to avoid asking you directly). This might seem
borderline rude in some western cultures, where people might prefer to be
asked directly.
CC BY-SA 3.0
2014-02-12T00:57:43.170
14464
2014-02-12T00:57:43.170
1073
14454
answer