I figured out I was gay when I realized that all the crushes I've had on girls in the past were based on the idea of being with them. I wasn't...
You have three basic options: 1. Tell him how you feel towards him in a more direct way(You don't necessarily need to directly say you're gay....