Beginning C# 3.0: An Introduction to Object Oriented Programming pdf

555 1.4K 2
Beginning C# 3.0: An Introduction to Object Oriented Programming pdf

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... 4:53:00 PM 1 Getting Star ted Welcome to the world of object- oriented programming and C#! The primary goal of this book is to use the C# programming language from Microsoft to teach you object- oriented programming, or OOP This book assumes that you have no prior programming experience in any language and that you know nothing about OOP If you do have programming experience and some familiarity with OOP, that’s... exactly what that means right now, but it will become clear as you learn C# 4 c01.indd 4 4/7/08 4:53:00 PM Chapter 1: Getting Started Suffice it to say that C# provides you with a robust object- oriented programming language and an impressive set of tools to tackle almost any programming task Whether you wish to develop desktop, distributed, web, or mobile applications, C# can handle the task As you... is to present the concept of objects first and then ease into how objects may be viewed in C# Throughout the book I have tried to use common, easily understood examples to introduce new programming concepts I have covered most of the C# programming language, although there are a few less common topics that I have not covered I do not feel these omissions are important to the task at hand, which is to. .. A Shor t Histor y of Object - Oriented Programming (OOP) Many people believe that OOP is a product of the 1980s and the work done by Bjarne Stroustrup in moving the C language into the object- oriented world by creating the C++ language Actually, SIMULA 1 (1962) and Simula 67 (1967) are the two earliest object- oriented languages The work on the Simula languages was done by Ole-John Dahl and Kristen... Acknowledgments Introduction xi xxi Part I: Getting Started 1 Chapter 1: Getting Started 3 A Short History of Object- Oriented Programming (OOP) Installing C# Downloading C# Express Installing C# Express A Test Program Using C# Express Creating a Project The C# Integrated Development Environment Adding an Object to a Windows Form Running the Program Summary Chapter 2: Understanding Objects Understanding Objects... of Objects How Many Properties, How Many Methods? What Do I Do After I’ve Defined a Class? Developing a Program Plan Where to Start? Creating a Simple Application Using Objects Using the Program Steps to Create a Program Plan Using C# to Implement Our Program Plan Adding Program References to Your Project Adding a New Item to the Project Setting the Project Properties Adding Objects to the frmMain Object. .. openings for C# programmers than in any other language.) Installing C# If you have already purchased and installed Visual Studio 2008 and C#, you can skip this section If you haven’t installed C#, this section tells you how to download and install the C# Express version of Visual Studio C# Express is a modified version of C# that is available from Microsoft at no charge While the Express version of C# is... use to teach programming concepts is one of the reasons I came back to teaching after so many years away I missed the learning experience A number of the books I wrote were concerned with languages other than C#, but that too provides for an enriching experience for me as an instructor The strengths and weaknesses of a language can be appreciated only if you’ve grappled with some other less-than-perfect... you already know a programming language or have some other prior programming experience If you’re familiar with symbol tables, lvalues and rvalues, and the Bucket Analogy, good — but it won’t hurt you to read about them again from a different perspective No shortcuts, remember What This Book Covers This text begins with a non -programming- language introduction to object- oriented programming The goal... will come to appreciate all that object- oriented programming and C# can do for you flast.indd xxi 4/8/08 12:53:10 AM Introduction Who This Book is For The book assumes no prior programming experience That does not mean, however, that the book is “dumbed down” in any way I build slowly, placing you on solid ground before the next topic is introduced I encourage you to write your own programs and do the . 233 Constructors 233 Default Constructors 234 Non-Default Constructors 234 Constructor Overloading 235 Property Methods 237 Getters and Setters 238 What to Do if an Error. Beginning C# 3. 0 : an introduction to object oriented programming / Jack Purdum. p. cm. Includes index. ISBN 978-0-470-26129 -3 (paper/website) 1. Object- oriented

Ngày đăng: 22/03/2014, 16:20

Từ khóa liên quan

Mục lục

  • Beginning C# 3.0

    • About the Author

    • Credits

    • Acknowledgments

    • Contents

    • Introduction

      • Who This Book is For

      • What This Book Covers

      • How This Book is Structured

      • What You Need to Use This Book

      • Conventions

      • Source Code

      • Errata

      • p2p.wrox.com

      • Part I: Getting Started

        • Chapter 1: Getting Started

          • A Short History of Object-Oriented Programming (OOP)

          • Installing C#

          • A Test Program Using C# Express

          • Summary

          • Chapter 2: Understanding Objects

            • Understanding Objects

            • Developing a Program Plan

            • Creating a Simple Application Using Objects

            • Using C# to Implement Our Program Plan

Tài liệu cùng người dùng

Tài liệu liên quan