Added the C# code to dlll in order to load it dynamically