刚刚入门,为什么一直显示重载与委托不匹配

public delegate string Read(string s);
public static void read(Read a)
{
Console.WriteLine(a);
}

    static void Main(string[] args)
    {
        Read r1 = new Read(read);

一个返回值是string一个是void当然不匹配,修改其中一个。

public delegate string Read(string s);
->
public delegate void Read(string s);

或者
public static void read(Read a)
{
Console.WriteLine(a);
}
->
public static string read(Read a)
{
Console.WriteLine(a);
return a;
}

或者
public static void read(Read a)
{
Console.WriteLine(a);
}
->
public static string read(Read a)
{
Console.WriteLine(a);
return "一个字符串";
}