dotnet-native-interop Platform Invoke (P/Invoke) patterns for calling native C/C++ libraries from .NET: (preferred, .NET 7+) vs (legacy), struct marshalling, string marshalling, function pointer callbacks, for cross-platform library resolution, and platform-specific considerations for Windows, macOS, Linux, iOS, and Android. Version assumptions: .NET 7.0+ baseline for . available in all .NET versions. API available since .NET Core 3.0. Scope boundary: This skill owns general P/Invoke guidance -- declaring native method signatures, marshalling data types, resolving library paths across platfor…