Dotnet Pinvoke

Correctly call native C/C++ libraries from .NET using P/Invoke and LibraryImport, covering function signatures, string marshalling, memory lifetime, SafeHandle, and cross-platform patterns.

.NET (Microsoft) Updated 22.1k repo stars

File contents

dotnet/skills commit 72af853455

Frequently asked questions

npx get-skill add dotnet/dotnet-pinvoke