Beginning object-oriented programming with C#

The ideal beginner's guide to C# and object-oriented programming Wrox beginners' guides have the perfect formula for getting programming newcomers up and running. This one introduces beginners to object-oriented programming using C# to demonstrate all of the core constructs of this progra...

Descripción completa

Detalles Bibliográficos
Otros Autores: Purdum, Jack J. author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Indianapolis, Indiana : Wile 2013.
Edición:1st edition
Colección:Wrox programmer to programmer
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628575306719
Tabla de Contenidos:
  • Beginning Object-Oriented Programming with C#; Contents; Introduction; Part I: Getting Started; Chapter 1: Introducing C#; A Short History of Object-Oriented Programming (OOP); Installing C#; Downloading Visual Studio Professional; A Test Program Using C#; Creating a Project; The C# Integrated Development Environment; The Major IDE Windows; Using the Source Code Window; Adding a Toolbox Object to a Windows Form; Changing the Text of a Label Object; Running the Program; Summary; Chapter 2: Understanding Objects; Understanding Objects; Everyday Use of Objects; Class Properties; Class Methods
  • How Many Properties, How Many Methods?Classes Are Simplifications of Objects; What Do I Do After I've Defined a Class?; Instantiating an Object of a Class; I Have an Object...Now What?; Why Hide the Data Inside an Object?; Getting Started with Objects; Developing a Program Plan; Where to Start? The Five Program Steps; The Five Program Steps; Creating a Simple Application Using Objects; Using the Program Steps to Create a Program Plan; 1: Initialization; 2: Input; 3: Process; 4: Display; 5: Termination; Using C# to Implement Your Program Plan; Critique of the btnDisplayOutput Click Event Code
  • SummaryPart II: Understanding C# Syntax; Chapter 3: Understanding Data Types; Computer Data; Integer Data Types; Range of Integer Data Types; Understanding Binary Numbers; Signed Integer Values; Which Integer Should You Use?; Variable Naming Rules and Conventions; Floating-Point Data Types; Which Floating-Point Data Type Should You Use?; Monetary Values: The Decimal Data Type; Using IntelliSense to Locate Program Errors; Syntax Rules and Error Messages; The Boolean Data Type; Summary; Chapter 4: Understanding C# Statements; Basic Building Blocks of a Programming Language
  • Operands and OperatorsExpressions; Statements; Operator Precedence; Overriding the Default Precedence Order; Defining Variables; Defining a Variable from the Compiler's Point of View; Step 1: Preliminary Syntax Checking; Step 2: Symbol Table Checking; Step 3: Defining a Variable; Using a Variable in a Program; The Bucket Analogy; Types of Program Errors; Syntax Errors; Semantic Errors; Logic Errors; The Visual Studio Debugger; The Debugging Process; Making Repetitious Debugging Easier; Using the Visual Studio Debugger; Setting a Breakpoint; Using a Breakpoint to Examine Variables
  • Single-Stepping the ProgramDefensive Coding; Write Your Code So That Someone Else Can Easily Understand It; Use Program Comments; Use Meaningful Variable Names; Avoid Magic Numbers; Use a Consistent Coding Style; Take a Break; Use a Second Set of Eyes; Summary; Chapter 5: Understanding Reference Data Types; String Variables; Defining a String Reference Variable; The Meaning of null; Why Reference Types Are Different from Value Types; Reference Variable Rules; Reference Type Variables Versus Value Type Variables; Why Do Reference Variables Work the Way They Do?
  • Pass by Value Versus Pass by Reference