No matter the gender, shoot your shot!
But…
The possibility of rejection is always there. It’s up to you to react in a way that shows your character. 
Stay kind and remember that it’s not about the other persons response but that you put yourself out there and said what you felt :)