News for hackers. Stuff that matters.
Re:How the .NET Runtime Loads a Type by yumaikas on Friday June 16, 2017 @10:10AM (#14569106)
This code wouldn't compile, for starters.

But it could be `IValidator<object>`, in the worst case. That being said, why not make a `class ThingValidator<T> : IValidator<T> {}`, for all the lack of detail we have?

There aren't enough details here to demonstrate the weaknesses of generics.

Re:How the .NET Runtime Loads a Type by sharpercoder on Friday June 16, 2017 @12:37PM (#14570394)
>This code wouldn't compile, for starters.

Thats the point. You need an `IValidator` interface.

Re:How the .NET Runtime Loads a Type by yumaikas on Friday June 16, 2017 @02:01PM (#14571229)
The reason it won't compile is that the code, as given, has two classes with the same name.