Hi all,
I have a class library Business rule, which i am using in my website and console application. I use some same functions  at both. Is there any way to know in the function (in class file) wether its a console application or web application. My requirment is that I need do a System.Console.WriteLine or System.Web.HttpContext.Current.Response.Write depending upon the application type.
 
regards

...

Go to the complete details ...