Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Start Here!™ Fundamentals of Microsoft® .NET Programming
Introduction
Who Should Read This Book
Assumptions
Who Should Not Read This Book
What You Need to Use This Book
Organization of This Book
Conventions and Features in This Book
Source Code
Acknowledgments
Errata & Book Support
We Want to Hear from You
Stay in Touch
Other Resources
1. Computer Hardware
Types of Computers
Personal Computers
Desktops, Towers, and Workstations
Laptops, Notebooks, Netbooks, and Tablets
Minis, Servers, and Mainframes
Handheld Computers
Comparing Computer Types
Computer Speed
Data Storage
RAM
Flash Drives
Hard Drives
Blu-ray, DVD, and CD Drives
Working with Files
Networks
Summary
2. Multiprocessing
Multitasking
Multiprocessing
Multithreading
Problems with Parallelism
Contention for Resources
Race Conditions
Locks
Deadlocks
Looking for Parallelism
Distributed Computing
Task Parallel Library
Summary
3. Programming Environments
From Software to Hardware
Programming Environments
Visual Studio
Summary
4. Windows Program Components
Menus
Use Ellipses
Provide Accelerators
Provide Shortcuts
Use Standard Menu Items
Don’t Hide Commands
Use Shallow Menu Hierarchies
Keep Menus Short
A Menu Example
Context Menus
Toolbars and Ribbons
Dialog Boxes
User Interface Design
Control Order
Group Related Controls
The Rule of Seven
Don’t Allow Mistakes
Provide Hints
Summary
5. Controls
Using Controls
Windows Forms Controls
WPF Controls
Properties
Windows Forms Properties
WPF Properties
Methods
Events
Summary
6. Variables
Fundamental Data Types
Strings
Program-Defined Data Types
Arrays
Enumerations
Structures
Classes
Value and Reference Types
Type Conversion
Explicit Conversion
Implicit Conversion
Scope, Accessibility, and Lifetime
Scope
Accessibility
Lifetime
Summary
7. Control Statements
Pseudocode
Looping Statements
For Loops
For Each Loops
Do While Loops
While Loops
Until Loops
Conditional Statements
If
If Else
Else If
Case
Jumping Statements
Go To
Exit
Continue
Return
Jumping Guidelines
Error Handling
Summary
8. Operators
Precedence
Operators
Parentheses
Operator Precedence
Post- and Pre-Increment and Decrement
Bitwise Operators
Modulus and Division
Conditional And and Or
Conditional
Compound Assignment Operators
Concatenation Operators
Operator Overloading
Operator Overloading Overload
Conversion Operators
Summary
9. Routines
Types of Routines
Advantages of Routines
Reducing Duplicated Code
Reusing Code
Simplifying Complex Code
Hiding Implementation Details
Dividing Tasks Among Programmers
Making Debugging Easier
Calling Routines
Writing Good Routines
Perform a Single, Well-Defined Task
Avoid Side Effects
Use Descriptive Names
Keep It Short
Use Comments
Parameters
Optional Parameters
Parameter Arrays
Parameter-Passing Methods
Reference and Value Types
Arrays
Routine Overloading
Routine Accessibility
Recursion
Summary
10. Object-Oriented Programming
Classes
Class Benefits
Properties, Methods, and Events
Properties
Methods
Events
Shared Versus Instance Members
Inheritance
Polymorphism
Overriding Members
Shadowing Members
Inheritance Diagrams
Abstraction and Refinement
Abstraction
Refinement
“Is-A” Versus “Has-A”
Multiple Inheritance and Interface Implementation
Constructors and Destructors
Constructors
Constructors in the Same Class
Constructors in the Parent Class
Destructors
Garbage Collection
IDisposable
Summary
11. Development Techniques
Comments
Types of Comments
XML Comments
IntelliSense Support
Automatic Documentation
Creating XML Comments
Supported XML Comments
Naming Conventions
Development Techniques
Data-centric Viewpoint
User-centric Viewpoint
Agile Development
Extreme Programming
Test-driven Development
Summary
12. Globalization
Terminology
Culture Codes
Locale-Specific Text and Symbols
Localizing User Interfaces in Visual Studio
Locale-Specific Formats
Culture-Aware Functions in .NET
Summary
13. Data Storage
Files
Text Files
Random Access Files
INI Files
XML Files
Config Files
The System Registry
Relational Databases
Other Databases
Spreadsheets
Object Stores
Object-Relational Database
Hierarchical Databases
Network Databases
Temporal Databases
Summary
14. .NET Libraries
Microsoft Namespaces
System Namespaces
Summary
Glossary
Index
About the Author
← Prev
Back
Next →
← Prev
Back
Next →