How can I make C # code call a variable that is in a C ++ file for example. Knowing I'm using Visual Studio.
C ++ code:
#include "stdafx.h"
#include <iostream>
int main()
{
int test = 10;
return 0;
}
but how can I access this variable in C #