I know that the Nazis hated communism but it is a bit ironic that they themselves had the word socialism in their party's name (National Socialist German Workers' Party. Nationalsozialistische Deutsche Arbeiterpartei in German).
My question is that is there any evidence of any socialist elements in Nazi policies or agendas?
If not then why did the Nazi party have the word socialism in its very name?