C# Primer
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > C# Primer: A Practical Approach
C# Primer: A Practical Approach

C# Primer: A Practical Approach

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

Developers have long sought a language that combined the simplicity of Visual Basic with the power and flexibility of C++. For them, Microsoft has created C# -- systematically incorporating features intended to simplify the development of next-generation components and services. Now, one of the world's leading C++ experts and authors presents a start-to-finish, practical introduction developers need to leverage their existing skills with Microsoft's breakthrough new language. Stanley B. Lippman -- who was on the ground floor of the worldwide C++ revolution -- focuses on C# as a tool for building sophisticated COM+ components and Web services. Using extensive program examples, Lippman walks step-by-step through the fundamentals of C# syntax, classes, and object-oriented programming; inheritance, interfaces, delegates, events, attributes, reflection, exception handling, namespaces, assemblies, and more. The book concludes with a detailed chapter on interoperability between C# and legacy code. Appendices include a concise C# handbook and a quick tour of the new Visual Studio.NET development environment. For all intermediate programmers and developers who want to leverage their C, C++, or Java skills with Microsoft's new C#.

Table of Contents:
Preface. 1. Hello, C. A First C Program. Namespaces. Alternative Forms of the Main Function. Making a Statement. Opening a Text File for Read and Write. Formatting Output. The string Type. Local Objects. A Value and Reference Types. The C Array. The new expression. Garbage Collection. Dynamic Arrays: The ArrayList Collection Class. The Unified Type System. Shadow Boxing. Unboxing Leaves Us Downcast. Jagged Arrays. The Hashtable Container. Exception Handling. A Basic Language Handbook. Keywords. Built-in Numeric Types. Arithmetic, Relational, and Conditional Operators. Operator Precedence. Statements. 2. Class Design. Our First Independent Class. Opening a New Visual Studio Project. Declaring Data Members. Properties. Indexers. Member Initialization. The Class Constructor. The Implicit this Reference. static Class Members. const and readonly Data Members. The enum Value Type. The delegate Type. Function Parameter Semantics. Function Overloading. Pass by Value. Pass by Reference: The ref Parameter. Pass by Reference: The out Parameter. Variable-Length Parameter Lists. Operator Overloading. Conversion Operators. The Class Destructor. The struct Value Type. 3. Object-Oriented Programming. Object-Oriented Programming Concepts. Supporting a Polymorphic Query Language. Designing a Class Hierarchy. Object Lessons. Designing an Abstract Base Class. Declaring an Abstract Base Class. Static Members of an Abstract Base Class. A Hybrid Abstract Base Class. The Single-Inheritance Object Model. How Is a Hybrid Abstract Class Different? Defining a Derived Class. Overriding the Inherited Virtual Interface. Overriding the Virtual Object Methods. Member Access: The new and base Modifiers. Accessibility versus Visibility. Encapsulating Base-Class Access. Sealing a Class. The Exception Class Hierarchy. 4. Interface Inheritance. Implementing a System Interface: IComparable. Accessing an Existing Interface. Defining an Interface. Implementing Our Interface: Proof of Concept. Integrating Our Interface within the System Framework. Explicit Interface Member Implementations. Inherited Interface Members. Overloaded, Hidden, or Ambiguous? Mastering Copy Semantics: Icloneable. Mastering Finalize Semantics: Idisposable. BitVector: Extension through Composition. 5. Exploring the System Namespace. Supporting the Fundamental Types. The Array Is a System.Array. Querying the Environment. The Environment Class. Accessing All the Environment Variables. The Process Class. Finding the Logical Drives. System.IO. Handling File Extensions: The Path Class. Manipulating Directories. Manipulating Files. Reading and Writing Files. A System Miscellany. The System.Collections.Stack Container. The System.Diagnostics.TraceListener Class. System.Math. The DateTime Class. Regular Expressions. System.Threading. The Web Request/Response Model. System.Net.Sockets. The Server-Side TcpListener. The Client-Side TcpClient. System.Data (ADO.NET). The Database Tables. Opening the Database: Selecting a Data Provider. Navigating the DataTable. Setting Up the DataRelation. Selection and Expressions. System.Xml. Getting XML Out of Our Programs. XmlTextReader: The Firehose. Document Object Model. System.Xml.Xsl. System.Xml.Xpath. 6. Windows Forms Designer. Our First Windows Forms Program. Building the GUI. Implementing the Event Callback Routines. Implementing a TextBox Event. Implementing the Button Events: OK. Implementing the Button Events: Quit. Inspecting and Generating Control Events. Labels Are Programmable. Implementing the MessageBox Popup Dialog. The ListBox for Unformatted Output. Exploring the File Dialog. A Pocketful of Buttons. Serving Up Menus. The DataGrid Control. Adding a PictureBox Control. 7. ASP.NET and Web Forms Designer. Our First Web Forms Program. Opening an ASP.NET Web Application Project. Modifying the Document Properties. Adding Controls to the Document: Label. Adding Additional Pages to a Project. The HyperLink Control: Linking to Other Pages. The DataGrid Control. Understanding the Page Event Life Cycle. The Data Provider. Web State Management. Adding a TextBox Control. Adding an ImageButton Control. Adding a ListBox Control. Managing State: Class Members. Managing State: the Session Object. Managing State: the Application Object. Validation Controls. Adding a DropDownList Control. Adding a Group of RadioButton Controls. Adding a CheckBoxList Controls. Adding Validators to a Control. Adding a Calendar Control. Adding an Image Control. Programming Web Server Controls. 8. The Common Language Runtime. Assemblies. Runtime Type Reflection. Modifying the Retrieval through BindingFlags. Invoking a Method during Runtime. Delegating the Test to Reflection. Attributes. The Intrinsic Conditional Attribute. The Intrinsic Serializable Attribute. The Intrinsic Dllimport Attribute. The Intrinsic Conditional Attribute. The Intrinsic Serializable Attribute. The Intrinsic Dllimport Attribute. Implementing Our Own Attribute Class. Positional and Named Parameters. AttributeUsage. Runtime Discovery of Attributes Using Reflection. The Intermediate Language. Examining the Intermediate Language. The ildasm Tool. Index. 0201729555T11292001


Best Sellers


Product Details
  • ISBN-13: 9780201729559
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Height: 187 mm
  • No of Pages: 416
  • Sub Title: A Practical Approach
  • Width: 234 mm
  • ISBN-10: 0201729555
  • Publisher Date: 19 Dec 2001
  • Binding: Paperback
  • Language: English
  • Spine Width: 25 mm
  • Weight: 767 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
C# Primer: A Practical Approach
Pearson Education (US) -
C# Primer: A Practical Approach
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

C# Primer: A Practical Approach

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!