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.
精彩评论