Visual c# 2012

910 3.6K 0
Visual c# 2012

Đ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

[...]... THE C# LANGUAGE CHAPTER 1: INTRODUCING C# 3 What Is the NET Framework? 3 What’s in the NET Framework? Writing Applications Using the NET Framework CIL and JIT Assemblies Managed Code Garbage Collection Fitting It Together Linking What Is C#? Applications You Can Write with C# C# in this Book Visual Studio 2012 Visual Studio Express 2012 Products Solutions Summary CHAPTER 2: WRITING A C# PROGRAM The Visual. .. successes and adds even more attractive features The latest release of Visual Studio (Visual Studio 2012) and the Visual Studio Express 2012 line of development tools also bring many tweaks and improvements to make your life easier and dramatically increase your productivity This book is intended to teach you about all aspects of C# programming, from the language itself, through desktop and web programming,... programmers Despite this simplification, C# has retained the power of C++, and there is now no reason not to move into C# The language is not difficult and it’s a great one to learn elementary programming techniques with This ease of learning, combined with the capabilities of the NET Framework, make C# an excellent way to start your programming career The latest release of C#, C# 5, which is included with version... time is spent working primarily with C# and WPF, as well as toying with NoSQL databases A Danish citizen, Jacob lives in Aarhus, Denmark, with his wife and son JON D REID is the Director of Software Technology for IFS Metrix Service Management (www.IFSWORLD com/Metrix) He has coauthored a number of NET books, including Beginning Visual C# 2010, Fast Track C#, Pro Visual Studio NET, and many others MORGAN... Chapter 1 introduces you to C# and how it fits into the NET landscape You’ll learn the fundamentals of programming in this environment, and how Visual Studio 2012 (VS) fit in Chapter 2 starts you off with writing C# applications You’ll look at the syntax of C# and put the language to use with sample command-line and Windows applications These examples demonstrate just how quick and easy it can be to... language before, you should read the chapters from Chapter 8 onward Alternatively, if you already know the C# language, you might want to concentrate on the chapters dealing with the most recent NET Framework and C# language developments, specifically the chapters on collections, generics, and C# language enhancements (Chapters 11 to 14), or skip the fi rst section of the book completely and start with... examination of some extra ways to use C# and the NET Framework, including Windows Communication Foundation (WCF) and Windows Workflow Foundation (WF)— technologies introduced with NET 3.0 and enhanced for NET 4 and NET 4.5 The following sections describe the chapters in the five major parts of this book The C# Language (Chapters 1–14) Chapter 1 introduces you to C# and how it fits into the NET landscape... Products Solutions Summary CHAPTER 2: WRITING A C# PROGRAM The Visual Studio 2012 Development Environment Console Applications The Solution Explorer The Properties Window The Error List Window Desktop Applications Summary 4 4 4 5 5 6 6 7 7 8 8 8 9 9 10 13 14 16 18 19 19 20 23 CHAPTER 3: VARIABLES AND EXPRESSIONS 25 Basic C# Syntax Basic C# Console Application Structure Variables 26 28 29 Simple Types ftoc.indd... 8 is devoted to demystifying it and explaining what makes it so great, and you won’t actually deal with much C# code until the very end of the chapter Everything changes in Chapter 9, when you put theory into practice and start using OOP in your C# applications This is where the true power of C# lies You’ll start by looking at how to defi ne classes and interfaces, and then move on to class members... you’ve learned how OOP works in C#, Chapter 11 moves on to look at common OOP scenarios, including dealing with collections of objects, and comparing and converting objects Chapter 12 takes a look at a very useful feature of C# that was introduced in NET 2.0: generics, which enable you to create very flexible classes Next, Chapter 13 continues the discussion of the C# language and OOP with some additional . Together 6 Linking 7 What Is C#? 7 Applications You Can Write with C# 8 C# in this Book 8 Visual Studio 2012 8 Visual Studio Express 2012 Products 9 Solutions. has coauthored a number of .NET books, including Beginning Visual C# 2010, Fast Track C#, Pro Visual Studio .NET, and many others. MORGAN SKINNER started

Ngày đăng: 03/03/2014, 01:21

Mục lục

  • Writing Applications Using the .NET Framework

    • CIL and JIT

    • What Is C#?

      • Applications You Can Write with C#

      • C# in this Book

      • Visual Studio 2012

        • Visual Studio Express 2012 Products

        • Chapter 2: Writing a C# Program

          • The Visual Studio 2012 Development Environment

          • Console Applications

            • The Solution Explorer

            • The Error List Window

            • Chapter 3: Variables and Expressions

              • Basic C# Syntax

              • Basic C# Console Application Structure

              • Variable Declaration and Assignment

              • Chapter 4: Flow Control

                • Boolean Logic

                  • Boolean Assignment Operators

                  • The if Statement

                    • Checking More Conditions Using if Statements

                    • Chapter 5: More About Variables

                      • Type Conversion

                        • Implicit Conversions

                        • Explicit Conversions Using the Convert Commands

                        • Complex Variable Types

                          • Enumerations

                            • Defining Enumerations

                            • Chapter 6: Functions

                              • Defining and Using Functions

                                • Return Values

                                • Reference and Value Parameters

                                • Variable Scope

                                  • Variable Scope in Other Structures

                                  • Parameters and Return Values versus Global Data

                                  • Chapter 7: Debugging and Error Handling

                                    • Debugging in Visual Studio

                                      • Debugging in Nonbreak (Normal) Mode

                                        • Outputting Debugging Information

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

  • Đang cập nhật ...

Tài liệu liên quan