Beginning C# 7 Hands-On ??? Advanced Language Features
By :
Beginning C# 7 Hands-On ??? Advanced Language Features
By:
Overview of this book
Beginning C# 7 Hands-On – Advanced Language Features assumes that you’ve mastered the basic elements of the C# language and that you're now ready to learn the more advanced C# language and syntax, line by line, in a working Visual Studio environment. You'll learn how to code advanced C# language topics including generics, lambda expressions, and anonymous methods.
You'll learn to use query syntax to construct queries and deploy queries that perform aggregation functions. Work with C# and SQL Server 2017 to perform complex joins and stored procedures. Explore advanced file access methods, and see how to serialize and deserialize objects – all by writing working lines of code that you can run within Visual Studio.
This book is designed for beginner C# developers who have mastered the basics now, and anyone who needs a fast reference to using advanced C# language features in practical coding examples. You'll also take a look at C# through web programming with web forms.
By the time you’ve finished this book, you’ll know all the critical advanced elements of the C# language and how to program everything from C# generics to XML, LINQ, and your first full MVC web applications. These are the advanced building blocks that you can then combine to exploit the full power of the C# programming language, line by line.
Table of Contents (35 chapters)
Title Page
Credits
About the Author
www.PacktPub.com
Customer Feedback
Preface
Free Chapter
Creating a Simple Generics Class
Creating a Generic Method
Implementing a Generic Interface to Accomplish Sorting
Making Delegates More Flexible with Generics
Creating and Using Generic Dictionaries
Connection Between Delegates and Lambda Expressions
Expression-Bodied Lambdas and Expression-Bodied Members
Anonymous Methods and Objects That Run Their Own Delegates
C# with LINQ and Built-In Types
C# with LINQ and Custom Data Types
Using Query Syntax to Construct Queries
Queries That Perform Aggregation Functions
Using LINQ to Summarize Tuples
Summarizing Results with Grouping
Joining Datasets with Inner Joins
Downloading, Installing, and Running SQL Server 2017
Writing Code to Manually Connect to a Table and Retrieve Records
Inserting Records into Tables Using Stored Procedures
Using the Nullable Feature to Make Apps More Stable
Connecting a Chart Control to SQL Server
Using LINQ to Operate on Tables from SQL Server
Creating a Page That Saves Text to Disk
Creating a Page That Uses the File Upload Control
Serializing and Deserializing Objects
Having a Little Fun with Images with Pixel Manipulations
Saving an Image to SQL Server
Creating and Using an XML File
Creating XML Files with C#
Querying XML Documents with LINQ
Customer Reviews