Comparison of different methods to contact to nanowires