I recently discovered that I can actually use most of my favorite C# 3.0 language features even in projects that target .NET Framework 2.0. For some of you, this is probably a 'duh, of course you can, those are compiler features, not framework features!', but for those of you out there like me that didn't cotton on to this, I hope this blog will be good news!
So, here are the features you can use:
Again, this is because these features are all compiler tricks (so obviously you will need the 3.0 or 3.5 compiler). They generate the exact same IL as the 2.0 compiler would.
And here are some you cant:
So no Linq.
Check out this blog for more information.
Remember Me
a@href@title, i, strike, u
Copyright © 2003-2008 Falafel Software Inc.
Subscribe to Falafel Blogs
The opinions expressed herein are Falafel's employees own personal opinions and do not represent Falafel Software's view in any way in case they go bananas!