Skip to main content

Beginning Visual C# 2010

Beginning Visual C# 2010

Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner

ISBN: 978-0-470-50226-6

Apr 2010

1080 pages

In Stock

$44.99

Description

Update 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.

Related Resources

INTRODUCTION xxxiii

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

INDEX 1009

Chapter 16 Art Download
Chapter 15 Art Download
Chapter 18 Art Download
Chapter 19 Art Download
Chapter 20 Art Download
Chapter 3 Code Download Download
Chapter 21 Art Download
Chapter 22 Art Download
Chapter 24 Art Download
Chapter 25 Art Download
Chapter 26 Art Download
Chapter 27 Art Download
Chapter 4 Code Download Download
Chapter 5 Code Download Download
Chapter 6 Code Download Download
Chapter 7 Code Download Download
Chapter 8 Code Download Download
Chapter 9 Code Download Download
Chapter 10 Code Download Download
Chapter 11 Code Download Download
Chapter 12 Code Download Download
Chapter 13 Code Download Download
Chapter 14 Code Download Download
Chapter 15 Code Download Download
Chapter 16 Code Download Download
Chapter 17 Code Download Download
Chapter 18 Code Download Download
ReadMe File Download
Chapter 19 Code Download Download
Chapter 20 Code Download Download
Chapter 21 Code Download Download
Chapter 22 Code Download Download
Chapter 23 Code Download Download
Chapter 24 Code Download Download
Chapter 25 Code Download Download
Chapter 26 Code Download Download
Chapter 27 Code Download Download
Code Download :: All Chapters Download
Chapter 1 Art Download
Chapter 2 Art Download
Chapter 3 Art Download
Chapter 4 Art Download
Chapter 5 Art Download
Chapter 6 Art Download
Chapter 7 Art Download
Chapter 8 Art Download
Chapter 9 Art Download
Chapter 10 Art Download
Chapter 2 Code Download Download
Chapter 11 Art Download
Chapter 12 Art Download
Chapter 13 Art Download
Chapter 14 Art Download
Chapter 17 Art Download

Answers to the Exercises appendix can be found at the end of the book.

ChapterPageDetailsDatePrint Run
xxxviError in Text,Line 6:
Once you've leaned how OOP works in C#, ........

Should say learned instead of leaned.
06/02/2010
51Error 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.
5/5/10
54Error in Text,Last paragraph, last sentence reads:
The other two namespaces...

should read:
The other three namespaces...
3/14/11
5122, 962Error in Exercise,Exercise 4:

Currently reads:
 Will the following code compile? Why or why not? string[5] blab = new string[5] string[5] = 5th string.


For the answers [Page 962] the code needs to be changed to:
 Will the following code compile? Why or why not? string[5] blab = new string[5] blab[5] = 5th string. 
3/14/11
138Error in Figure,output shown should not include the line Text output from function 3/14/11
242Error 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).

SHOULD READ:
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).
02/20/2013
282Error in Text,Middle of page.
You'll learn cover - Should say �You�ll lean�
4/11/2011
295Error in Code,
 �if (min < 2)� should be  �if (minimum < 2)� 
4/11/2011
301, 321Errata,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
314Error in Code,In GetHashCode().
Formula should be 13*(int)suit + (int)rank?
4/11/2011
336Error in Text, tertiary should be ternary 12/7/2010
354Error in Code,Code sample near the bottom of the page:

class My GenericClass where T: constraint

should be:

class MyGenericClass where T: constraint
10/5/2010
380Error in Text,In paragraph 7, in reference to the command from the previous Try it Out:

Currently reads:
Console.ReadLine()

Should read:
Console.ReadKey()
12/27/2012
394Improvement 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
462Error 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