I have a ParameterInfo array. I need to remove certain values from the array. How can i do this.?
Consider i havae,
ParameterInfo[] pi containing the values,
{Int32 param1}
{System.String param2}
{System.Collections.Hashtable param3}
I need to remove the 2nd values from the array, i.e {System.String param2}. How can i do this.?
You can’t remove items from an array. You can, however, create a new array without the item. Probably the most convenient (but not necessarily efficient) way would be via a list: