Advice needed from men population in Switzerland

Hello! I'm an expat woman who's been living in Switzerland for a year now and have encountered several strangers in my every day life whom I wanted to approach and introduce myself, but never had a courage to.

I am pretty open and social and I love chatting with local residents, who start the conversation with me on the train first, but they are either always elderly folk or women.

My genuine question is: is approaching Swiss men in public places considered a creepy/rude gesture from a woman? What is the safest way to start a conversation without creeping the person out by the direct approach?

I'm asking because when I tried to do that in my homecountry at a party, a guy straight up told me to bug off (mildly put) and since then I've been quite nervous to do that again.

Every input is appreciated 🙏