Please tell me the basic difference between dotnet 2008 and 2010(3.5 and 4.0)
-
Do you mean Visual Studio or .NET Framework ? – Canavar Jun 16 '09 at 08:06
-
29That would be 2 and 0.5 respectively. – Nifle Jun 16 '09 at 08:13
-
2@Nifle: Actually -2 and -0.5 :P but I had a pretty good laugh :D – Mike Gleason jr Couturier May 07 '10 at 15:33
7 Answers
Uh, where to start. Here is what I love:
- all new things about parallel computing
- "dynamic" keyword and Dynamic Language Routine
- code contracts
- new background garbage collector
- compiling only necessary parts of Primary Interop Assemblies into your application, and compatibility/versioning improvements that this infrastructure allows for pure .NET code
- new stuff about exception handling (look for corrupted state exceptions)
- small stuff like BigInteger and SortedSet classes
- memory-mapped files handling in managed code
and may others, look around on the net, there is a lot of information already.

- 4,646
- 1
- 18
- 15
I hope I'm not incorrectly reading jignesh's question, but I would have to assume that the linking of a ton of "What's New" pages is probably not what they wanted. I would think that they could have done a search and pulled up that much.
I think what they are looking for is more of a feel for what people can break down for them as a reason to or not to go with a particular version - personal experience, not press releases.
For me, I'd say the biggest things for me that make 2010/4.0 worth the trip are the changes that allow me to distribute a client application without needing the dnFx installed on a machine, the new GC, the crazy-cool "dynamic", and (sadly, yes) the multi-monitor support.

- 5,655
- 4
- 30
- 32
A simple google brings up...
There are probably a lot more things, the Framework is massive so changes which are interesting for person x might not be as important for person y.

- 178,213
- 47
- 333
- 501

- 1,772
- 1
- 13
- 19
In that case (lance may) I must say that my favorites are the dynamic also and the super great solution to multi-threading - the Parallel lib, its really awesome and fast! (nested parallels are not always faster BTW)
But I feel that @jignesh asked if there's a real difference in the engineering structure, how it works from behind, something someone from inside should say, after all decided that it's different enough that if you want 3.5 and 4 in the same machine you need to install them both.
Anyway I would love an answer to that if there is :)

- 4,566
- 4
- 30
- 50

- 5,940
- 3
- 33
- 47
Difference between Framework 3.5
and Framework 4.0
:
EnableViewState - [true or false]
inFramework 3.5
EnableViewState -[Enabled/Disabled/Inherits]
inFramework 4.0
Keyword
andDescription
is added inFramework 4.0
while it is not available inFramework 3.5
in the Page Directives.

- 12,512
- 5
- 50
- 82