It is very important to get to know not only your professors but also your classmates. Your peers in the classes you are in could be a coworker. This is why it is important to step out and talk to others. We do not have shells for a reason so don't act like you can hide in one! you may be struggling in a class but remember you are not alone and working together with classmates will help and create new contacts.
So remember when you are in class talk to others, relate, and don't be shy. A simple word, wave, hand shake, or high five can help build a relationship.