Write an article based on this "Approach them after class or during office hours. Open with your thanks. Be specific. Be polite."

Article:
Talk to your professor after class or meet them at office hours. Meeting in person can allow you some time to talk to the professor outside of just saying thank you if you wish. It can also help the professor pair your name and face together. If you want to create or maintain a professional relationship with your professor, you may want to thank them in person so that they get to know you better. Get right to the point and say "thank you" up front. This will make the intentions of the visit clear and direct. That way, your professor won't be left wondering why you made contact with them. For example, say, "I wanted to express my gratitude for your class" or "Thank you for writing a letter of recommendation for me." If there was something that really stood out to you about this professor or class, let them know. For example, mention a lecture you enjoyed, a field trip that taught you something, or an exchange that stuck with you. Mentioning something specific will show that you put thought into your thank you. For example, say, "I'll never forget the first lecture you gave. I knew I would learn a lot from this class because you went so in-depth on the very first day." Now is not the time to be overly casual with your professor or to try to become friends with them. Be polite and professional. Also, don't use your thank you as a way make a demand or be rude to your professor about something else.