Cover image for Learning Object-Oriented Programming in C# 5. 0.
Learning Object-Oriented Programming in C# 5. 0.
Title:
Learning Object-Oriented Programming in C# 5. 0.
Author:
Harwani, B.M.
ISBN:
9781285854571
Personal Author:
Physical Description:
1 online resource (592 pages)
Contents:
Cover -- Contents -- Introduction -- Chapter 1 The .NET Framework -- C# Introduction -- .NET Framework Structure -- Common Language Runtime (CLR) -- Common Type System -- Common Language Specification -- Assembly Use -- Visual Studio IDE Overview -- Visual Studio Installation -- Running a C# Program -- Using the Visual Studio IDE -- Using the Command-Line Compiler -- Line-by-Line Explanation of Code -- Modification of the Main( ) Method -- Summary -- Chapter 2 Data Types -- Identifiers and Keywords -- Variables -- Constants -- Predefined Data Types -- Predefined Value Types -- Integer Types -- Floating-Point Types -- Decimal Types -- Character Types -- Bool Types -- Nullable Types -- Predefined Reference Types -- Implicitly Typed Variables -- Implicit Conversion -- Explicit Type Conversion -- Reference Types -- Boxing -- Unboxing -- The is Operator -- The as Operator -- Streams -- Methods Defined by stream Class -- The Predefined Streams -- Console I/O -- Sending Output to the Console -- Reading Input from the Console -- Comment Use -- Windows Form Application -- Summary -- Chapter 3 Operators and Expressions -- Operators -- Precedence and Associativity -- Adding Parentheses -- The typeof Operator -- The sizeof Operator -- Checked and Unchecked Operators -- Arithmetic Operators -- Increment and Decrement Operators -- Sign Operators -- Relational Operators -- Equality Operators -- Logical Boolean Operators -- Logical Bitwise Operators -- Shift Operators -- Assignment Operators -- Compound Assignment Operators -- Ternary Operator (Conditional Operator) -- The Math Class -- Summary -- Chapter 4 Decision-Making and Looping -- Conditional Statements -- The if-else-if Statement -- The switch Statement -- The Conditional Operator -- Loops -- The while Loop -- The do-while Loop -- The for Loop -- The continue Statement -- The goto Statement.

Enumeration -- Summary -- Chapter 5 Arrays and Strings -- Using Arrays -- One-Dimensional Arrays -- Multidimensional Arrays -- Using Strings -- Passing Command-Line Arguments to Main( ) -- Using StringBuilder -- Using ArrayList -- Summary -- Chapter 6 Methods and Structures -- Methods -- Return Statement -- Method Parameters -- Method Invocation -- Method Overloading -- Optional and Named Parameters -- C# Parameter Modifiers -- Passing By Value -- Passing By Reference -- Using Output Parameters -- Sending Variable Length Parameters -- Your Own Type: Structures -- Using Properties with Struct -- Defining Arrays in Structures -- Using an Array of Structures -- Nested Structs -- Date and Time Structure -- Using the DateTime Properties and Methods -- Using TimeSpan -- Formatting Dates and Times -- Custom Date and Time Formatting -- Standard Date and Time Formatting -- Summary -- Chapter 7 Classes and Objects -- Class -- The new Operator -- Public Members -- Difference Between a Struct and a Class -- Methods Defined in a Class -- Private Members -- Parameter Passing by Value and Reference -- Output Parameters -- Method Overloading -- Encapsulation -- Use of Properties -- The this Keyword -- Constructors -- Default Constructors -- Parameterized Constructors -- Copy Constructors -- Constructor Overloading -- Constructor Chaining -- Garbage Collection -- Static Classes and Members -- Namespace -- Namespace Importing -- Namespace Nesting -- Namespace Alias Creation -- Internal Modifier -- Summary -- Chapter 8 Inheritance and Polymorphism -- Types of Inheritance -- Single Inheritance -- Multilevel Inheritance -- Hierarchical Inheritance -- Hybrid Inheritance -- Method Overriding -- Sealed Class and Methods -- Method Hiding -- Abstract Classes -- Abstract Properties -- Polymorphism -- Summary -- Chapter 9 Interfaces.

Invoking Interface Members at the Object Level -- Implementing Multiple Interfaces -- Handling Ambiguity When Implementing Multiple Interfaces -- Implementing an Interface Explicitly -- Verifying Interface Implementation -- Using the as Keyword -- Using the is Keyword -- Implementing a Multilevel Interface -- Implementing Interface Properties -- Understanding How a Structure Implements an Interface -- Passing an Interface as a Parameter -- Returning an Interface -- Summary -- Chapter 10 Operator Overloading -- Binary Operator Overloading -- Adding a Constant to an Object -- Adding Two Complex Numbers -- Unary Operator Overloading -- True and false Operator Overloading -- Comparison Operators Overloading -- Conversion Operators Overloading -- Creating an Implicit Conversion Operator -- Creating an Explicit Conversion Operator -- Summary -- Chapter 11 Delegates and Events -- Delegates Introduction -- Declaring Delegates -- Instantiating Delegates -- Invoking the Referenced Method -- Instance Versus Static Method Targets -- Multicast Delegates -- Covariance and Contravariance -- Generic Delegate Types -- Anonymous Method -- Difference Between Delegates and Interfaces -- Event Handling -- Declaring an Event -- Event Accessors -- Summary -- Chapter 12 Generics and Collections -- Collections -- Standard Interfaces -- IEnumerators -- Hashtable -- SortedList -- BitArray -- Stack -- Queue -- Generics -- Generic Collections -- Generic List -- Queue -- Stack -- SortedSet -- Dictionary -- LinkedList -- Summary -- Chapter 13 Managing Errors and Exceptions -- Introducing Errors and Exceptions -- The Exception Hierarchy -- Keywords Used in Exception Handling -- Using Multiple try Blocks -- Using Multiple catch Blocks -- Throwing an Exception -- Nesting try Blocks -- Creating Your Own Exception -- Using the checked/unchecked Operator -- Summary.

Chapter 14 Threads -- Introduction to Threads -- Using the Main Thread -- Creating Child Threads -- Life Cycle of a Thread -- Multithreading -- Ensuring Exclusive Operations Using Monitors -- Using the Lock Statement -- Interrupting a Thread -- Summary -- Chapter 15 Streams -- Introducing Streams -- Handling Files -- Reading a File Randomly -- Reading and Writing Primitive Types in Binary Format -- Using BinaryWriter -- Using BinaryReader -- Performing Character-Based File I/O -- Using StreamWriter -- Implementing TextWriter -- Using StreamReader -- Implementing TextReader -- Using StringReader and StringWriter -- Reading an Entire File -- Holding Data Temporarily Using MemoryStream -- Managing a Directory Using DirectoryInfo -- Summary -- Chapter 16 ADO.NET -- Examining the Major Components of ADO.NET -- Connecting or Creating a Database -- Accessing Data from the Database -- Creating a Connection to the Server -- Opening the Connection -- Creating a Command Object -- Closing the Connection and Releasing the Resources -- Displaying the Table Data Through GridView -- Inserting Rows in a Table -- Using Parameters with the Command Object -- Calling Stored Procedures -- Updating a Table -- Summary -- Chapter 17 LINQ Queries -- Implicitly Typed Local Variables -- Object and Collection Initializers -- Lambda Expressions -- Extension Methods -- Anonymous Types -- LINQ Categories -- LINQ to Objects -- LINQ to XML -- LINQ to SQL -- Summary -- Chapter 18 Web-Based Application Development in .NET -- Examining the Visual Studio Toolbox -- Building Your First Web Application -- Using the DropDownList Control -- Understanding the AutoPostBack Property -- Using the ArrayList Class to Display Data in DropDownList -- Using the CheckBox Control -- Using the RadioButton Control -- Using the ListBox Control -- Using the LinkButton Control -- Using the HyperLink Control.

Using the ImageButton Control -- Working with WCF -- Creating a Client Application -- Summary -- Chapter 19 .NET Assemblies -- Using Assemblies -- Private Assemblies -- Shared Assemblies -- Creating and Using a Shared Assembly -- Summary -- Index -- A -- B -- C -- D -- E -- F -- G -- H -- I -- J-K -- L -- M -- N -- O -- P -- Q -- R -- S -- T -- U -- V -- W -- X-Z.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: