Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
/Gh 编译器标志允许您挂钩库中的所有 C/C++ 函数。是否有等效的 C# 方式?
c# 没有这个标志或类似这个标志的东西
但是你可以通过func的包装器调用函数
或使用属性并编写自己的行为