Created
October 5, 2022 16:48
-
-
Save melanchall/d45be6b41b2c533e2c3bccd7ea56c6c7 to your computer and use it in GitHub Desktop.
[Medium] NuGet Native 17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Runtime.InteropServices; | |
namespace DualLibClassLibrary | |
{ | |
internal sealed class Api32 : Api | |
{ | |
[DllImport("test32")] | |
public static extern int Foo(); | |
public override int Method() | |
{ | |
return Foo(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment