Dynamo nodes in c# plugins

Has anybody tried referencing or using dynamo nodes inside a c# plugin in visual studio?

Just wondering if I can use the the dll that comes with the package in dynamo and get the output in c# passing the inputs.

In short I have a dynamo script and wanted to convert it to c# plugin so can I use the dlls directly instead of working through all the nodes and finding the appropriate API classes.?

If someone has already tried this could you share some examples.?

This can save a lot of time instead of starting the plugin from scratch.