A way of doing this would be to create DLL from your .cs file and add a reference to that. I use that quite often when using the same general methods in several projects.