Professional C#, 2nd Edition
Professional C#, 2nd Edition
Product not available for purchase
DescriptionWhat is this book about?
It is no exaggeration to describe the C# language and its associated environment, the .NET Framework, as the most important new technology for developers in many years. .NET provides a new environment within which you can develop almost any Windows-based or web-based application, while C# is a new programming language designed specifically to work with .NET.
What does this book cover?
This book is the ideal introduction to the C# language and the .NET Framework, and will become an indispensable companion for any user of C# and .NET. With this book, you learn the key concepts of the C# language, and then progress onto a complete exploration of programming the .NET Framework with C#. Topics covered include the following:
- How to program in the object-oriented C# language
- Writing Windows applications and Windows services
- Writing web pages and web services with ASP.NET
- Manipulating XML using C#
- Understanding .NET Assemblies
- Using ADO.NET to access databases
- Integration with COM, COM+, and Active Directory
- Distributed applications with .NET Remoting
- Generating graphics using C#
- Accessing files and the Registry, and controlling .NET security
Chapter 1: C# and .NET Architecture.
Chapter 2: C# Basics.
Chapter 3: Object-Oriented C#.
Chapter 4: Advanced C# Topics.
Chapter 5: C# and the Base Classes.
Chapter 6: Programming in the .NET Environment.
Chapter 7: Windows Applications.
Chapter 8: Assemblies.
Chapter 9: Data Access with .NET.
Chapter 10: Viewing .NET Data.
Chapter 11: Manipulating XML.
Chapter 12: File and Registry Operations.
Chapter 13: Working with the Active Directory.
Chapter 14: ASP.NET Pages.
Chapter 15: Web Services.
Chapter 16: User Controls and Custom Controls.
Chapter 17: COM Interoperability.
Chapter 18: COM+ Services.
Chapter 19: Graphics with GDI+.
Chapter 20: Accessing the Internet.
Chapter 21: Distributed Applications with .NET Remoting.
Chapter 22: Windows Services.
Chapter 23:.NET Security.
Appendix A: Principles of Object-Oriented Programming.
Appendix B: C# Compilation Options.
|Download all code samples for this book||Download|
|Download code samples for chapters 1 to 12 and Appendix A||Download|
|Download code samples for chapters 13 to 23 ||Download|
|Download the C# for VB6 developers appendix||Download|
|Download the C# for Java developers appendix||Download|
|Download the C# for C++ developers appendix||Download|
|25||Error in Text|
Second paragraph under "Use of Attributes":
used in conjunction with reflection technology (described) in order...
used in conjunction with reflection technology (described on page 27) in order...
|38||If you are a very experienced developer .... |
If you are a very experienced developer in one of VB, C#, or Java, you should...
If you are a very experienced developer in one of VB, C++, or Java, you should...
|77||Typo in Text|
At the top of page 77:
"... even though we don't actual specify the size of the dimensions..."
"... even though we don't actually specify the size of the dimensions..."
|78||Typo in Text|
Code in grey box:
// Declare a two-dimension jagged array of authors' names
// Declare a two-dimensional jagged array of authors' names
|130||For C++ programmers.... |
For C++ programmers : because primitive fields in C# are by default initialized by being zeroed out, whereas primitive fields in C++ are by default uninitialized, you may find that you don't need to write constructors in C# as often as you would in C++.
|147||Readonly instance field |
public DateTime CreationDate;
public readonly DateTime CreationDate;
|157||Multiplying a vector.... |
Multiplying a vector by a scalar simply means multiplying each component by individually by the scalar...
Multiplying a vector by a scalar simply means multiplying each component individually by the scalar...
|162||C++ developers should note...|
C++ developers should note that indexers in C++ serve the same purpose...
C++ developers should note that indexers in C# serve the same purpose...
The second Obsolete attribute has one of its parentheses in the wrong place. The correct code should be:
|5||265||Chars from Strings|
char char4 = message Should read char char4 = message2 and that should return 'o' not 'a'
The final if statement at the top of page 318 should read:
Thread does not have a constructor without parameters - at the top of page 323, the code should be rearranged to the following, so that the ThreadStart object is passed to the Thread constructor:
|427||The Timer Control |
The Elapsed and Click events of the Timer control mentioned on page 427 should in fact be the Tick event of the Timer control.