两个清单之间的差异 [英] Difference between two list

查看:68
本文介绍了两个清单之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

这些之间有什么区别?

List<List<int>> start = new List<List<int>>();

List<int> start = new List<int>();

推荐答案

一个是包含整数的列表,另一个是包含整数列表的列表.帖子中的第一个可以包含第二个的倍数(您可以将int列表添加到List(of List(of int))中).

one is a list that contains Integers, the other a List that contains Lists of integers. The first in your post can contain multiple of the second (you can add lists of int to a List(of List(of int))).

此致

 托尔斯滕


这篇关于两个清单之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆