I don't think there is a right or wrong way. Your thank you isn't going to have any bearing on your application, it's just good manners.
I always send a hand written card, but I think a lot of people send e-mails.
I think cards are considered more formal, but not a necessity. A lot of interviewees don't send squat.