converting a console application to a dll in c#
===

I am trying to convert an application writen in c# to a dll. The console application takes in input from user and resets the password by calling a method of a service that i have imported in my project. How do i convert the console application into a dll so that whenever user wishes to change password my dll is invoked??