Beginning C# / Edition 1

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $1.99
Usually ships in 1-2 business days
(Save 96%)
Other sellers (Paperback)
  • All (16) from $1.99   
  • New (3) from $60.75   
  • Used (13) from $1.99   
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any coupons and promotions
Seller since 2008

Feedback rating:



New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.


Ships from: Chicago, IL

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Seller since 2015

Feedback rating:


Condition: New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Seller since 2015

Feedback rating:


Condition: New
Brand New Item.

Ships from: Chatham, NJ

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Page 1 of 1
Showing All
Sort by


C# is Microsoft's brand new programming language for its new platform, the .NET Framework. The .NET Framework consists of a runtime environment for managing the execution of our code, and a whole host of class libraries for performing almost any programming task you can think of. Although .NET code can be written in many languages, C# is the only language designed specifically for the .NET Framework, and as such is set to become the language of choice for writing .NET applications for years to come.

This book will be an indispensable guide as you learn to write C# programs, gradually explaining the key concepts of C# and .NET as your skills develop. After a thorough explanation of the basics of the C# language, we take an in-depth look at object-oriented programming in C#, before moving on to see how we write Windows applications in C#. We also show how you can create dynamic web pages and web services in C#. Finally, two case studies provide full examples of C# applications in action and show how it all ties together.

This book covers:

  • The C# language
  • .NET Programming with C#
  • Object-oriented programming
  • Writing Windows applications
  • Accessing databases
  • Writing web pages and web services in C#
Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
If you never relished the task of learning C++, C# is the language you've been waiting for. Microsoft's pretty well managed to deliver the power of C++ together with the relative simplicity of Visual Basic. And that's a compelling combination. Beginning C# is an equally compelling resource for anyone who's new to C# -- whatever their background. You'll find it especially helpful if you're moving to a "true" object-oriented language for the first time (though even experienced OO developers will welcome the coverage of C#'s approach to objects).

The first quarter of Beginning C# offers a practical introduction to the basic syntax of the language: variables, expressions, flow control, functions, error handling, and basic debugging. Wrox's author team next moves on to C# objects and classes, introduces the language's approach to events, and presents two comprehensive chapters on .NET's powerful new Windows Forms and form controls. There's a full chapter on GDI+, which will enable major improvements in Windows user interfaces.

You'll find detailed coverage of ADO.NET data access and .NET assemblies. The book's highlight: a practical introduction to C# and ASP.NET web programming, including a full chapter on the sizzling topic of web services. (Bill Camarda)

Bill Camarda is a consultant, writer, and web/multimedia content developer with nearly 20 years' experience in helping technology companies deploy and market advanced software, computing, and networking products and services. He served for nearly ten years as vice president of a New Jersey┬ľbased marketing company, where he supervised a wide range of graphics and web design projects. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks For Dummies┬«, Second Edition.

Read More Show Less

Product Details

  • ISBN-13: 9781861004987
  • Publisher: Wrox Press, Inc.
  • Publication date: 10/1/2001
  • Edition number: 1
  • Pages: 1000
  • Product dimensions: 7.26 (w) x 8.98 (h) x 2.20 (d)

Meet the Author

Karli Watson is an in-house author for Wrox. Karli's computing interests include all things mobile and upcoming technologies such as C#. He can often be found preaching about these technologies at conferences.

Jon Reid is the Chief Technology Officer for the database and development tool maker Micro Data Base Systems, Inc. John is the editor for the C++ and Object Query Language (OQL), components of the Object Data Management Group (ODMG) standard and has contributed to previous Wrox titles.

Christian Nagel is working as a trainer and consultant for Global Knowledge. He enjoys teaching others programming and architecting distributed solutions. As founder of the now called .NET User Group Austria and as MSDN Regional Director, he is a speaker at European conferences (TechEd, VCDC.

Eric White is an independent consultant. Eric has particular interest in Object-Oriented design methodologies, including use case analysis, UML, and design patterns. Eric is currently specializing in C#, VB.NET, ASP.NET, ADO.NET, XML, COM+, GDI+, SQL Server and other Microsoft technologies.

Jacob Hammer Pedersen is a systems developer at ICL Invia - a member of the Fujitsu Group. Primarily working on the Microsoft platforms, other expertises include MS Office development, COM, COM+ and Visual Basic.Net.

Ollie Cornes co-founded a business-to-business Internet company and until recently was their Chief Technical Officer. Prior to that his various roles involved programming, technical authoring, network management, writing, leading development projects and consulting.

Morgan Skinner has used a variety of languages and platforms, including VAX Macro Assembler, Pascal, Modula2, Smalltalk, x86 assembly language, PowerBuilder, C/C++, Visual Basic, PL/SQL, TSQL and current C#. You can reach Morgan by email at

David Espinosa is a Senior Programmer and owner of Espinosa Consulting. He concentrates on Microsoft technologies and tools. David has worked with Microsoft as a Lead Author for the Desktop Visual FoxPro Certification Exam and has recently been focusing on E-Commerce and data integration solutions.

Zach Greenvoss, MCSD is a Senior Consultant with Magenic Technologies, a Microsoft Gold Certified consulting firm. He specializes in middle tier architecture and implementation, utilizing various technologies including COM+, MSMQ, BizTalk, and XML. He can be reached at

After working with Wrox Press on a number of projects, Matthew Reynolds is now an in-house author writing about and working with virtually all aspects of Microsoft.NET. He's also a regular contributor to Wrox's ASPToday, C#Today and Web Services Architect. He can be reached on

Marco Bellinaso is a freelance software engineer and has been working with VB, C/C++ and other Microsoft tools for several years, specializing in User Interface, API, ActiveX/COM design and programming. Marco now spends all his time on the .Net Framework with both C# and VB.You can reach him at

Read More Show Less

Table of Contents

Section 1 Getting Started
Chapter 1 Introducing C# 1
What is the .NET Framework? 1
What is C#? 5
Visual Studio.NET 7
Summary 8
Chapter 2 Writing a C# Program 11
The Visual Studio.NET Development Environment 11
Console Applications 13
Windows Forms Applications 18
Summary 22
Section 2 C# Language Basics
Chapter 3 Variables and Expressions 25
Basic C# Syntax 25
Variables 29
Expressions 38
Summary 49
Exercises 49
Chapter 4 Flow Control 53
Boolean Logic 53
Branching 63
Looping 71
Summary 84
Exercises 84
Chapter 5 More About Variables 87
Complex Variable Types 96
String Manipulation 112
Summary 117
Exercises 117
Chapter 6 Functions 121
Defining and Using Functions 122
Variable Scope 133
The Main() Function 140
Struct Functions 143
Overloading Functions 144
Delegates 146
Summary 149
Exercises 149
Chapter 7 Debugging and Error Handling 153
Debugging in Visual Studio 154
Error Handling 171
Summary 178
Exercises 179
Section 3 Programming with Objects
Chapter 8 Introduction to Object-Oriented Programming 181
What is Object Oriented Programming? 182
Static and Instance Class Members 187
OOP Techniques 188
OOP in Windows Applications 197
Summary 200
Exercises 201
Chapter 9 Defining Classes 203
Class Definitions in C# 203
System.Object 209
Constructors and Destructors 211
OOP Tools in Visual Studio.NET 216
Class Library Projects 221
Interfaces vs. Abstract Classes 225
Struct Types 227
Summary 229
Exercises 230
Chapter 10 Defining Class Members 233
Additional Class Member Topics 244
Interface Implementation 248
Example Application 251
Summary 258
Exercises 258
Chapter 11 More About Classes 261
Collections 261
Operator Overloading 278
Advanced Conversions 289
Deep Copying 296
Custom Exceptions 300
Summary 302
Exercises 302
Chapter 12 Events 305
What is an Event? 305
Using Events 307
Expanding and Using CardLib 318
Summary 325
Exercises 326
Section 4 Working with Windows Forms
Chapter 13 Using Windows Form Controls 329
The Windows Form Designer 330
The Toolbox 331
Controls 332
The Button Control 335
The Label and LinkLabel Controls 339
The TextBox Control 341
The RadioButton and CheckBox Controls 352
The RichTextBox Control 358
The ListBox and CheckedListBox Controls 366
The ComboBox Control 371
The ListView Control 378
The StatusBar Control 390
The TabControl Control 393
Summary 397
Chapter 14 Advanced Windows Forms Features 399
Menus 399
Toolbars 408
SDI and MDI Applications 415
Creating Controls 428
Summary 440
Exercise 440
Chapter 15 Using Dialogs 443
Dialogs 443
How to use Dialogs 445
File Dialogs 446
Printing 465
Print Preview 479
FontDialog and ColorDialog 481
Summary 485
Exercises 486
Chapter 16 Introduction to GDI+ 489
Overview of Graphical Drawing 489
Drawing Lines using the Pen Class 499
Drawing Shapes using the Brush Class 501
Drawing Text using the Font Class 504
Drawing Using Images 508
Advanced Capabilities of GDI+ 517
Summary 520
Chapter 17 Deploying Windows Applications 523
What is Deployment? 524
Deployment Project Types 524
Microsoft Windows Installer Architecture 526
Creating an Installation Package for the Simple Editor 528
Building the Project 544
Installation 545
Summary 552
Section 5 Programming on the .NET Framework
Chapter 18 Getting At Your Data 555
Data Access in VS 555
Viewing Data in VS 558
Accessing the Database from an Application 564
Seeing the Whole Picture 572
Navigating through the DataSet 573
Adding Lists 574
Adding a Datagrid 576
XML 579
Summary 595
Chapter 19 Data Access with ADO.NET 597
What is ADO.NET? 597
Overview of ADO.NET Classes and Objects 599
XML and ADO.NET 627
XML Support in ADO.NET DataSets 627
SQL Support in ADO.NET 629
Further Information on ADO.NET 634
Summary 634
Exercises 634
Chapter 20 Working With Files 637
Streams 637
The Classes for Input and Output 638
Advanced Topics 656
Summary 668
Exercises 668
Chapter 21 .NET Assemblies 671
Introduction to Assemblies 671
Self-Description 673
Structure of Assemblies 675
Creating Assemblies 676
Viewing the Contents of an Assembly 678
Assembly Attributes 684
Calling Assemblies 688
Private and Shared Assemblies 692
Summary 696
Exercises 697
Chapter 22 Attributes 699
What Is An Attribute? 699
Reflection 703
Built In Attributes 706
Custom Attributes 717
Summary 742
Section 6 C# and the Web
Chapter 23 Web Programming Basics 745
Introduction 745
A Brief History of the Internet 745
Web Programming 101 749
Web Evolution 762
.NET Web Programming 763
Summary 765
Chapter 24 ASP.NET Applications 767
Building our Weblog 768
Weblog Entries 777
Creating New Weblog Entries 804
User Sessions and Cookles 818
Summary 823
Questions 823
Chapter 25 Web Services 825
Before Web Services 826
Where to Use Web Services 827
Web Services Architecture 830
Web Services and the .NET Framework 836
Create a Simple ASP.NET Web Service 839
Testing the Web Service 842
Implementing a Windows Client 843
Implementing an ASP.NET Client 848
Summary 850
Section 7 Case Studies
Case Study 1 Web Site Poll 853
Web Site Poll 853
Version 1 854
Version 2 881
Three-Tier and the Poll Application 901
Summary 902
Case Study 2 An Online Newsletter Manager 905
NewsMailer 905
Data and Business Objects 908
The Administration User Interface 921
Appendix A Setting the Path Environment Variable 963
Windows 2000/XP 963
Windows NT 965
Windows 95/98/ME 965
Appendix B Installing MSDE 967
Appendix C C# Compilation Options 979
Index 987
C#Today Article: Building An Online shopping Cart Using C# 1013
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)