I have a parameter userSearch.Expand
where the Expand
property is a string[]
. I want to convert all values in this string[]
to upper case. I was hoping to do something like
userSearch.Expand.ForEach(x => x = x.ToUpper());
But it looks like .ForEach()
is not available on a string[]
.
Is there a workaround for this or a simplified way to do this or will I need to revert a more basic loop for this?