I am new to C#. I am not a good programmer but I have worked on some projects which were in Delphi7. In Delphi there is one option; compile the class files to create .dcu. Those .dcu can be used without having the actual code with any other project in Delphi and after build .dcu files need not no given to end user.
Now my actual Question,
Is there any way where I can create some compiled file from my C# class and use that compiled unit with some other project in C# ?
I already tried to create dll and use. Nice Idea, but I don't want to give any other file than Configuration File and Executable file. Since, I created dll that needs to give with application.
I also tried to create a setup of application which build executable, configuration file and dll together. while executing, it extract itself in %temp% folder and executes from there only. So, In this case I am not able to set the configuration file's values.
Again the same question,
Is there any way where I can create some compiled file from my C# class and use that compiled unit with some other project in C# ?
Please suggest the solution
Thanks