How can I export class file to another project?

Which IDE are you using for your code? VS? You should be able to just copy the classes if you want to go quick and easy, or you can package it as a plugin to be able to reuse it elsewhere also.