   C# typedef
  I'm trying to convert a C program to C#, but I'm not too familiar with C#. Does C# support any kind of typedef? If so, how would I go about using it?   
  There is no TYPEDEF in C# because there is no pre-processor.  But there is an aliases that use the using directive, ie.using IntList = System.Collections.Generic.List<int>;The important part of this is that it only works in the file that you define it.  Remember you can not do an #include.theTroll   ;Quote:Original post by TheTrollThere is no TYPEDEF in C# because there is no pre-processor.  But there is an aliases that use the using directive, ie.using IntList = System.Collections.Generic.List<int>;The important part of this is that it only works in the file that you define it.  Remember you can not do an #include.theTrollUh, C++ typedef has nothing to do with the preprocessor. This is simply a matter of different syntax.;  Your right, I just woke up.  Forget about that part, the rest is correct though.theTroll   