Analog of typedef in C#

In C / C++ , you can define a type alias, for example,

typedef unsigned long DWORD;

How do I do the same in C#?

 4
c#
Author: Nicolas Chabanovsky, 2010-12-21

1 answers

In C#, aliases are defined as:

using DWORD = System.UInt64;
 8
Author: andreycha, 2017-03-15 12:25:16