Typedef in C# across several source files
- by Danvil
I am writing a C wrapper an would like to use a typedef aquivalent to define some types which should be valid in quite a lot of source files. Those "types" are just different aliases to [u]int16/32/64_t, but are useful to distinguish function parameters.
One could use using MyId=System.Int32;, but this needs to be redeclared in every file as far as I see... Is there a better way?