Is able to use Linqbridge on a Net 2.0 website? I have no problem using this in a normal .NET 2.0 console, but when I use methods in the website, I will not be using
feature 'extension method' Because it's not part of it's ISO-2C # language specification
I think The error message is very clear that extension methods in 2.0 are not supported if you have an extension in 2.0 If you want to use respect, is it must modify it extract and call it clearly. If you have: public static class extension rule (public static Bull IOD (this int x) {returns x% 2! = 0;}} then ExtensionMethods and code like number.IsOdd () will not be compiled. You this has to be removed in the IsOdd method signing and will call it as ExtensionMethods.IsOdd (number) to work under 2.0. If I miss the right way, then this is the way LinqBridge The authors used it.
Hope that helps.
Comments
Post a Comment