When creating SharePoint WebParts what is the proper way to go about accessing common methods. For example when developing in .net webforms you can add a .cs file to the App_Code folder and consume classes and methods from that file.
I want to be able to create common code that is shared among all my SharePoint WebParts.
Any ideas? Perhaps I am going about this totally wrong.