I'm going through a .NET Core tutorial and I'm seeing a lot things like ILogger<HomeController>
which to me (since all I recognize them as types) looks a lot like typecasting.
The only conclusion I can come up with is if I wrote say ILogger(HomeController)
I'm telling it to cast it to say type HomeController
(giving me an error because I cannot) while ILogger<HomeController>
is just telling the controller 'which' type of ILogger
it is.
However, I am having trouble finding any documentation so my conclusions can be totally wrong.......
Thanks for your help!