John Salerno wrote:
I'm interested in Programming Windows with C# (Core Reference) by
Charles Petzold, but do you think that the new version of C# (along with
.NET 2.0) will make this book obsolete in any way?
The author's web site has the following web page for "Programming
Windows With C#":
http://www.charlespetzold.com/pwcs/index.html
Even without the change from .NET 1.1 to .NET 2.0, one could argue
that "Programming Windows With C#" is obsolete due to the need to
correct the errors. A 2nd edition is forthcoming if the past is any
indication as Charles Petzold has "Programming Windows" up to the
5th edition. When? I do not know.
I side-stepped your question because your question can be broken
down into parts. 1) What are the C# language changes from .NET 1.x
to .NET 2.0? 2) What are the changes in the classes from .NET 1.x
to .NET 2.0?
Since I am in the process of learning C# with the experience from
other software programming languages, I can only give a gut feel
answer to these questions ...
For item 1 above, if you have been monitoring the newsgroup, the
CSharpFinalWorkingDraftApril2005.pdf document was identified for
download in the following article for your analysis:
http://groups-beta.google.com/group/...e=source&hl=en
There is also web pages such as the following:
http://msdn.microsoft.com/vcsharp/20...rp_preview.asp
My gut feel is that the C# language changes from .NET 1.x to .NET
2.0 has little or no impact on "Programming Windows With C#". One
change may be to use Anonymous Methods wherever possible to help
make the code examples read easier, but I do not see such a change
as needed. However, some of the new C# language aspects should be
included in "Programming In the Key Of C#", for example, Generics.
For item 2 above, I have not seen a concise list of the changes in-
volving the classes, and I would like to see one. Maybe someone
knows of such a list.
When I was programming in Java, the word "deprecated" was the term
to mean that some class or method was becoming obsoleted. One ap-
proach was for the Java compiler to issue a warning when a depre-
cated class or method was used in a compile. After wandering around
microsoft.com using google searches, I did google searches using
the following phrases and got a few hits:
"This class has been deprecated."
"This method has been deprecated."
"This property has been deprecated."
From what I have seen from those hits and after using portions of
"Programming Windows With C#", my gut feel is that the changes in
the classes from .NET 1.x to .NET 2.0 have no impact on "Programm-
ing Windows with C#".
If you have finished with "Programming in the Key of C#", then you
are ready for "Programming Windows With C#".
Doug