Question

I made a class library that can be made either using .NET Framework 2 either .NET Framework 4 without making any change in code. Which one is better to use?

Was it helpful?

Solution

I prefer using the latest and greatest version since it gives you many more opportunities for you to work with if you wish to extend your library. I only use older versions if there are environmental limitations outside of my control e.g. not able to install the latest version on server etc...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top