OpenRoadsDesigner : what is differences and advantages of having ManagedSDKExample and UnmanagedSDKExample example

From what i understood one runs its code on C# and other on C++.

ManagedSDKexample uses dll headers while unmanagedsdkexamples uses API header files. 

My question :

1. Is there any advantage with unmanagedsdk over managed because its uses API headers ? 

2. To call the functions from managed and unmanaged the user had to enter the keyin and execute the commands. So what is the advantage when both operates in the same way ? 

3. Does user get more advantage working with unmanagedsdk because of C++ ? Is so please kindly elaborate. 

More information on these lines are appreciated. 

Thank you very much in advance. 

  • From what I have read via google

    Unmanaged = faster code + longer development time

    Managed = slower code + quicker development time

    Managed code means the .net runtime determines when a variable is no longer required, and frees this memory. i.e. .net 'manages' you apps memory.
    Unmanaged means you have to 'manage' your apps memory, get this wrong and you have 'memory leaks', crashes, or strange behaviour.

    So it really is a trade-off between develop time and require performance

    You can develop with a mix of managed and unmanaged code.