Dealing with type-casting limitations

Well this is the first post involving the .NET 4.0 framework, woo :D. Something I’ve had a problem with from within the abstract service lay which we use at TheFARM. It’s a limitation of the .NET framework and how you can do type casting wi…

Well this is the first post involving the .NET 4.0 framework, woo :D. Something I’ve had a problem with from within the abstract service lay which we use at TheFARM. It’s a limitation of the .NET framework and how you can do type casting within the .NET framework. The way we use our service layer is to never return classes, we only return interfaces, so you can’t write a method which looks like this:
Print Share Comment Cite Upload Translate
CITATION GOES HERE CITATION GOES HERE
Select a language: