Remove redundant ToCharArray() call

Proprietary

Remove ToCharArray() calls in foreach loops where iterating over the string directly produces the same result.

OpenRewrite.Recipes.CSharp.CodeQuality.Redundancy.RemoveRedundantStringToCharArrayCall
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Redundancy.RemoveRedundantStringToCharArrayCall

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.