Professional C# 7 and .NET Core

所需积分/C币:9 2018-04-18 01:15:02 24.94MB PDF
15
收藏 收藏
举报

Professional C# 7 and .NET Core 2.0 provides experienced programmers with the information they need to work effectively with the world’s leading programming language. The latest C# update added many new features that help you get more done in less time, and this book is your ideal guide for getting
WORKING WITH VARIABLES USING PREDEFINED DATA TYPES CONTROLLING PROGRAM FLOW GETTING ORGANIZED WITH NAMESPACES UNDERSTANDING THE MAIN METHOD USING COMMENTS UNDERSTANDING C# PREPROCESSOR DIRECTIVES C# PROGRAMMING GUIDELINES SUMMARY 3 Objects and Types CREATING AND USING CLASSES CLASSES AND STRUCTS CLASSES STRUCTS PASSING PARAMETERS BY VALUE AND BY REFERENCE NULLABLE TYPES ENUM TYPES PARTIAL CLASSES EXTENSION METHODS THE OBJECT CLASS SUMMARY 4 Object-Oriented Programming with C# OBJECT ORIENTATION TYPES OF INHERITANCE MPLEMENTATION INHERITANCE MODIFIERS INTERFACES IS AND AS OPERATORS SUMMARY 5 Generics GENERICS OVERVIEW CREATING GENERIC CLASSES GENERICS FEATURES GENERIC INTERFACES GENERIC STRUCTS GENERIC METHODS SUMMARY 6 Operators and Casts OPERATORS AND CASTS OPERATORS USING BINARY OPERATORS TYPE SAFETY COMPARING OBJECTS FOR EQUALITY OPERATOR OVERLOADING IMPLEMENTING CUSTOM INDEX OPERATORS USER-DEFINED CASTS SUMMARY ARrays MULTIPLE OBJECTS OF THE SAME TYPE SIMPLE ARRAYS MULTIDIMENSIONAL ARRAYS JAGGED ARRAYS ARRAY CLASS ARRAYS AS PARAMETERS ARRAY COVARIANCE ENUMERATORS STRUCTURAL COMPARISON SPANS ARRAY POOLS SUMMARY 8 Delegates, Lambdas, and Events REFERENCING METHODS DELEGATES LAMBDA EXPRESSIONS EVENTS SUMMARY g Strings and Regular Expressions EXAMINING SYSTEM STRING STRING FORMATS REGULAR EXPRESSIONS STRINGS AND SPANS SUMMARY 10 Collections OVERVIEW COLLECTION INTERFACES AND TYPES LISTS QUEUES STACKS LINKED LISTS SORTED LIST DICTIONARIES SETS PERFORMANCE SUMMARY 11 Special Collections OVERVIEW WORKING WITH BITS OBSERVABLE COLLECTIONS IMMUTABLE COLLECTIONS CONCURRENT COLLECTIONS SUMMARY 12 Language Integrated Query LINQ OVERVIEW STANDARD QUERY OPERATORS PARALLEL LINQ EⅩ PRESSION TREES INQ PROVIDERS SUMMARY 13 Functional Programming with C# WHAT IS FUNCTIONAL PROGRAMMING EXPRESSION-BODIED MEMBERS EXTENSION METHODS USING STATIC LOCAL FUNCTIONS TUPLES PATTERN MATCHING SUMMARY 14 Errors and Exceptions INTRODUCTION EXCEPTION CLASSES CATCHING EXCEPTIONS USER-DEFINED EXCEPTION CLASSES CALLER INFORMATION SUMMARY 15 Asynchronous Programming WHY ASYNCHRONOUS PROGRAMMING IS IMPORTANT NET HISTORY OF ASYNCHRONOUS PROGRAMMING FOUNDATION OF ASYNCHRONOUS PROGRAMMING ERROR HANDLING ASYNC WITH WINDOWS APPS SUMMARY 16 Reflection, Metadata, and Dynamic Programming INSPECTING CODE AT RUNTIME AND DYNAMIC PROGRAMMING CUSTOM ATTRIBUTES USING REFLECTION USING DYNAMIC LANGUAGE EXTENSIONS FOR REFLECTION THE DYNAMIC TYPE DYNAMICOBJECT AND EXPANDOOBJECT SUMMARY 17 Managed and Unmanaged Memory MEMORY MEMORY MANAGEMENT UNDER THE HOOD STRONG AND WEAK REFERENCES WORKING WITH UNMANAGED RESOURCES UNSAFE CODE REFERENCE SEMANTICS SPAN<T> PLATFORM INVOKE SUMMARY 18 Visual Studio 2017 WORKING WITH VISUAL STUDIO 2017 CREATING A PROJECT EXPLORING AND CODING A PROJECT BUILDING A PROJECT DEBUGGING YOUR CODE REFACTORING TOOLS DIAGNOSTIC TOOLS CREATING AND USING CONTAINERS WITH DOCKER SUMMARY part II: NET Core and the Windows runtime 19 Libraries, Assemblies, Packages, and NuGet THE HELL OF LIBRARIES ASSEMBLIeS CREATING LIBRARIES USING SHARED PROJECTS CREATING NUGET PACKAGES SUMMARY 20 Dependency iniection WHAT IS DEPENDENCY INJECTION? USING THE NET CORE DI CONTAINER LIFETIME OF SERVICES INITIALIZATION OF SERVICES USING OPTIONS USING CONFIGURATION FILES CREATING PLATFORM INDEPENDENCE USING OTHER DI CONTAINERS SUMMARY 21 Tasks and Parallel programming OVERVIEW PARALLEL CLASS TASKS CANCELLATION FRAMEWORK DATA FLOW TIMERS THREADING ISSUES THE LOCK STATEMENT AND THREAD SAFETY INTERLOCKED MONITOR SPINLOCK WAITHANDLE MUTEX SEMAPHORE EVENTS BARRIER READERWRITERLOCKSLIM LOCKS WITH AWAIT SUMMARY 2 files and streams INTRODUCTION MANAGING THE FILE SYSTEM ENUMERATING FILES WORKING WITH STREAMS USING READERS AND WRITERS COMPRESSING FILES WATCHING FILE CHANGES WORKING WITH MEMORY MAPPED FILES COMMUNICATING WITH PIPES USING FILES AND STREAMS WITH THE WINDOWS RUNTIME SUMMARY 23 Networking NETWORKING THe HttpclieNt Class WORKING WITH THE WEBLISTENER CLASS WORKING WITH UTILITY CLASSES USING TCP USING UDP USING SOCKETS SUMMARY 24 Security INTRODUCTION VERIFYING USER INFORMATION ENCRYPTING DATA PROTECTING DATA ACCESS CONTROL TO RESOURCES WEB SECURITY SUMMARY 25 ADO.NET and Transactions ADO NETOⅴ ERVIEW USING DATABASE CONNECTIONS COMMANDS ASYNCHRONOUS DATA ACCESS TRANSACTIONS WITH ADO NET TRANSACTIONS WITH SYSTEM TRANSACTIONS SUMMARY 26 Entity Framework Core HISTORY OF ENTITY FRAMEWORK INTRODUCING EF CORE USING DEPENDENCY INJECTION CREATING A MODEL QUERIES RELATIONSHIPS

...展开详情
试读 127P Professional C# 7 and .NET Core
立即下载 身份认证VIP会员低至7折
一个资源只可评论一次,评论内容不能少于5个字
您会向同学/朋友/同事推荐我们的CSDN下载吗?
谢谢参与!您的真实评价是我们改进的动力~
关注 私信
上传资源赚钱or赚积分
最新推荐
Professional C# 7 and .NET Core 9积分/C币 立即下载
1/127
Professional C# 7 and .NET Core第1页
Professional C# 7 and .NET Core第2页
Professional C# 7 and .NET Core第3页
Professional C# 7 and .NET Core第4页
Professional C# 7 and .NET Core第5页
Professional C# 7 and .NET Core第6页
Professional C# 7 and .NET Core第7页
Professional C# 7 and .NET Core第8页
Professional C# 7 and .NET Core第9页
Professional C# 7 and .NET Core第10页
Professional C# 7 and .NET Core第11页
Professional C# 7 and .NET Core第12页
Professional C# 7 and .NET Core第13页
Professional C# 7 and .NET Core第14页
Professional C# 7 and .NET Core第15页
Professional C# 7 and .NET Core第16页
Professional C# 7 and .NET Core第17页
Professional C# 7 and .NET Core第18页
Professional C# 7 and .NET Core第19页
Professional C# 7 and .NET Core第20页

试读结束, 可继续阅读

9积分/C币 立即下载