Stuck in 2.0 : Use Extension methods in .Net Framework 2.0

Some projects are still stuck in a 2.0 world and can't be upgraded to 3.5 due to weird build issues, does that mean you cannot use your String.Format shortcut extension method? Most assuredly not, thanks to an old trick to make the .Net 2.0 c# compiler accept extension methods.

In the name of all of us who occasionaly have to stare back to the past, "Thanks Daniel!"

No comments:

Post a Comment

Please leave your comments in English or French and I will be pleased to answer them if you have any questions.

Spammers will be walked down the plank matey. Arrr!