The call is ambiguous between single method i.e extension method

前端 未结 6 930
悲&欢浪女
悲&欢浪女 2021-02-12 04:06

I have an extension method like

public static class Extension
{
    public static string GetTLD(this string str)
    {
        var host = new System.Uri(str).Hos         


        
6条回答
  •  执念已碎
    2021-02-12 04:29

    I have found this solution in the comments above. And it helped me.

    I have the reference to project A in the project A. By mistake.

    Removeing helps =)

提交回复
热议问题