元组Tuple

数组合并了相同类型的对象,而元组合并了不同类型的对象。

Tuple<int ,string> err_1=Tuple.Create<int,string>(1,"没有登陆");

 

调用

err_1.Item1

err_1.Item2

posted @ 2015-12-31 11:00  zslm___  阅读(159)  评论(0编辑  收藏  举报