yun@dicom

导航

为 C# 重定义类型, 类似 C++ 的 typedef

在using xxx 的后面增加如下行

using MyList = System.Collections.Generic.List <(uint AppID, string Name, string Address, string AppDesc)>;

然后可以用

MyList list_a = new MyList ();

MyList list_b = new MyList ();

posted on 2020-08-14 09:37  yun@dicom  阅读(761)  评论(0)    收藏  举报