✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
delegate string strMod (string str, char ch);
public static string ReplaceSpaces (string a) {return a.Replace ( '', '-'); }
public string ReplaceHyphens (string a, char b) {return a.Replace ( '-', b); }
public static void Main ()
{
strMod strOp = new strMod (Test.ReplaceSpaces);
string str = strOp ( "дуже простий тест");
strOp = new strMod (new Test(). ReplaceHyphens);
System.Console.WriteLine (strOp (str, '*'));
}
Вкажіть результат виведення на консоль після спроби запустити програму на компіляцію і виконання:
C# oop_class