Is telling someone you like them crime?

I told my flatmate that I like her. And she has completely cut me off and told me that I am the smallest person that she met.
She can't even look at me.
It makes me feel like a criminal.
Is telling someone you like them crime?
Post Opinion