C#/C++ Shared enum


/ Published in: C#
Save to your folder(s)

If you are using c++/cli or UnmanagedExports, this is a useful way to share enum int values between c++ and c# code/DLLs without worrying about duplicated code going out of date.

URL: cs_cpp_shared_enum

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.