Private static string[] WorkWithStringArray(string[] words)
{
var volves = new string[] {"A", "E", "I", "O", "U"};
var min_i = 0;
for (var i = 0; i < words.Length; i++)
{
if (words[min_i].Length > words[i].Length)
min_i = i;
}
foreach (var c in volves)
{
words[min_i] = words[min_i].Replace(c, "A");
}
return words;
}