In 2.0, you can (on a file-by-file basis) use an alias - however this is
ONLY a compile-time alias (intended to simplify conflicting name
resolution); there will not be an actual type.
using MyType=System.Int32;
Note that it doesn't support the pointer and array aspects of the "C"
typedef
That is not worth much as a replacement for typedef.
It is only for current file.
It does only work for simple types (not even
for keywords even though that can of course be worked
around).
Arne
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.