Embedding Managed Code C VB
C Example
VB.NET Example