As the question indicates i've done a search and have found that it is related to generic type of a method declaration as we can found on the link:
In C#, What is <T> After a Method Declaration? ex: function<\T>(T a,T b)
And there i've seen that it is related to when we want to pass arguments on diferent types.
But on the following example it seems to have a specific type (this is from .NET) and no arguments:
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseStartup<Startup>()
.Build();
host.Run();
}
}
We can see there .UseStartup() what is the reason of this?