От: | kochetkov.vladimir | https://kochetkov.github.io | |
Дата: | 27.05.10 15:33 | ||
Оценка: |
module Program
{
WriteHi(arr : array[IComparable]) : void
{
Console.WriteLine(arr);
}
Main() : void
{
WriteHi("Hi!".ToArray());
_ = ReadLine();
}
}
Error 1 in argument #1 (arr), needed a array[System.IComparable], got array[char]: the types System.IComparable and char are not compatible [simple unify]