With the release of .Net 3.5 alongside with Visual Studio 2008 , new
enhancements was again introduced . Some maybe well pronounced such as
the inclusion of WCF, WPF , LINQ in .Net 3.0 and some just came
unnoticed. If you have been accustomed of using a particular method or
technique in implementing a certain code in .Net 2.0 , because of
backward compatibility , you may not even notice that there are new
ways of implementing it in .Net 3.5.
Here are two new concepts in .Net 3.5 that a developer may not notice ( at least in my opinion ) : Automatic Properties and Object Initializers
. To illustrate these two , I am going to present the pre-.Net 3.5 way
(.Net 2.0) and the .Net 3.5 way in creating a simple class with simple
properties.
Read More on this Article
Posted
05-16-2008 6:48 PM
by
trashVin