开发者

Removing object from IEnumerable

I am returning a list of IEnumerable from one method. How do i remove an element from it?

i want to do something like :-

objIEnumerable.r开发者_StackOverflowemove(objCustomer)

Thanks in advance :)


IEnumerable<T> is a readonly, forward-only access collection. You cannot remove elements. You might need to cast it to the underlying type and see if it supports this operation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜