Where to add the class file in silverlight project
===

I'm new to silverlight. I need to know where to add a class file for a silverlight application. Either in silverlight project or web project. Which is the correct way?