清除结构中的列表 [英] clear list in a structure
本文介绍了清除结构中的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个结构,即
Hi,
I have a structure i.e
struct StructRowReference
{
public int rowIndex;
public List<Cell> cell;
public Row currentRow;
}
我在List< cell>中有值,我需要清除结构中列表的内容。
我试图通过谷歌的帮助解决,无法得到正确的解决方案。
请帮我解决问题
I am having values in List<cell>, I need to clear the contents of the list in the structure.
I have tried to solve by using help of google, couldn't get correct solution.
Please help me in getting a solution
推荐答案
使用列表(T)。清除方法 [ ^ ]
这篇关于清除结构中的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文