Correct me if I’m wrong girls, but I’m guessing if guys have this approach with you or with girls in general she would be stand off’ish. Unless she finds him attractive, but even then girls usually don’t play these comments with a polite thank you.
Is this a better approach, hey can I get your input on something it’s a topic for class, to try and engage with her. If it’s something that interests her, guy says, hey I gotta go it was nice chatting with you, can I add you on social media somewhere?