DescriptionUpdate to Wrox's leading C# book for beginners
Get ready for the next release of Microsoft's C# programming language with this essential Wrox beginner's guide. Beginning Microsoft Visual C# 2010 starts with the basics and brings you thoroughly up to speed. You'll first cover the fundamentals such as variables, flow control, and object-oriented programming and gradually build your skills for Web and Windows programming, Windows forms, and data access.
Step-by-step directions walk you through processes and invite you to ""Try it Out,"" at every stage. By the end, you'll be able to write useful programming code following the steps you've learned in this thorough, practical book.
- The C# 4 programming language version will be synonymous with writing code with in C# 2010 in Visual Studio 2010, and you can use it to write Windows applications, Web apps with ASP.NET, and Windows Mobile and Embedded CE apps
- Provides step-by-step instructions for mastering topics such as variables, flow controls, and object-oriented programming before moving to Web and Windows programming and data access
- Addresses expressions, functions, debugging, error handling, classes, collections, comparisons, conversions, and more
If you've always wanted to master Visual C# programming, this book is the perfect one-stop resource.
Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
PART I: THE C# LANGUAGE
CHAPTER 1: INTRODUCING C# 3
CHAPTER 2: WRITING A C# PROGRAM 13
CHAPTER 3: VARIABLES AND EXPRESSIONS 31
CHAPTER 4: FLOW CONTROL 59
CHAPTER 5: MORE ABOUT VARIABLES 93
CHAPTER 6: FUNCTIONS 125
CHAPTER 7: DEBUGGING AND ERROR HANDLING 155
CHAPTER 8: INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING 185
CHAPTER 9: DEFINING CLASSES 209
CHAPTER 10: DEFINING CLASS MEMBERS 241
CHAPTER 11: COLLECTIONS, COMPARISONS, AND CONVERSIONS 277
CHAPTER 12: GENERICS 331
CHAPTER 13: ADDITIONAL OOP TECHNIQUES 373
CHAPTER 14: C# LANGUAGE ENHANCEMENTS 401
PART II: WINDOWS PROGRAMMING
CHAPTER 15: BASIC WINDOWS PROGRAMMING 447
CHAPTER 16: ADVANCED WINDOWS FORMS FEATURES 497
CHAPTER 17: DEPLOYING WINDOWS APPLICATIONS 533
PART III: WEB PROGRAMMING
CHAPTER 18: ASP.NET WEB PROGRAMMING 577
CHAPTER 19: WEB SERVICES 637
CHAPTER 20: DEPLOYING WEB APPLICATIONS 665
PART IV: DATA ACCESS
CHAPTER 21: FILE SYSTEM DATA 683
CHAPTER 22: XML 725
CHAPTER 23: INTRODUCTION TO LINQ 753
CHAPTER 24: APPLYING LINQ 795
PART V: ADDITIONAL TECHNIQUES
CHAPTER 25: WINDOWS PRESENTATION FOUNDATION 829
CHAPTER 26: WINDOWS COMMUNICATION FOUNDATION 899
CHAPTER 27: WINDOWS WORKFLOW FOUNDATION 935
APPENDIX A: EXERCISE SOLUTIONS 957
|xxxvi||Error in Text,Line 6: |
Once you've leaned how OOP works in C#, ........
Should say learned instead of leaned.
|51||Error in Text,After the following statement: |
Similarly, you can gain control over operator precedence by using parentheses, as shown in this example
This example should be included:
var1 = (var2 + var3) * var4;
Here, the content of the parentheses is evaluated first, meaning that the + operator acts before the * operator.
|54||Error in Text,Last paragraph, last sentence reads: The other two namespaces... should read: The other three namespaces...||3/14/11|
|5||122, 962||Error in Exercise,Exercise 4:|
Will the following code compile? Why or why not? string blab = new string string = 5th string.
For the answers [Page 962] the code needs to be changed to:
Will the following code compile? Why or why not? string blab = new string blab = 5th string.
|138||Error in Figure,output shown should not include the line Text output from function||3/14/11|
|242||Error in Text,CURRENTLY READS:|
The last two of these can be combined, so protected internal members are also possible. These are only accessible from code-derived classes within the project (more accurately, the assembly).
The last two of these can be combined, so protected internal members are also possible. These are accessible from code-derived classes and from code within the project (more accurately, the assembly).
|282||Error in Text,Middle of page. |
You'll learn cover - Should say �You�ll lean�
|295||Error in Code,|
�if (min < 2)� should be �if (minimum < 2)�
|301, 321||Errata,Pages 301 and 321 reference the �as� operator which is not covered until page 326. Please refer to page 326 for this coverage.||4/11/2011|
|314||Error in Code,In GetHashCode().|
Formula should be 13*(int)suit + (int)rank?
|336||Error in Text, tertiary should be ternary||12/7/2010|
|354||Error in Code,Code sample near the bottom of the page:|
class My GenericClass
|380||Error in Text,In paragraph 7, in reference to the command from the previous Try it Out:|
|394||Improvement on Code,Last line of the Progam.cs code should be: Console.ReadKey(); This should occur after the Console.WriteLine command indicating that the player has won the game or this message will display too quickly to the user and not be readable.||3/14/11|
|462||Error in Text,Last full sentence at bottom of the page: If the length of the text in the text box is zero, then set the background color to red and the Tag to false. should be: If the length of the text in the text box is zero, then set the background color to red. No Tag property is used in the coding example.||3/14/11|