1 option
Beginning C# 7 hands-on : advanced language features : learn the advanced-level features of C# 7 using visual studio 2017 / Tom Owsiak.
- Format:
- Book
- Author/Creator:
- Owsiak, Tom, author.
- Language:
- English
- Subjects (All):
- Microsoft Visual studio.
- C# (Computer program language).
- Microsoft .NET Framework.
- Physical Description:
- 1 online resource (1 volume) : illustrations
- Edition:
- 1st ed.
- Place of Publication:
- Birmingham, England ; Mumbai, [India] : Packt, 2017.
- Summary:
- An advanced C# beginners guide to some of the tougher parts of the C# language!.
- Contents:
- Cover
- Title Page
- Copyright
- Credits
- About the Author
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: Creating a Simple Generics Class
- Creating a generics class
- Working with different data types
- Making parameters that are generic
- Displaying the values
- Adding a button to Default.aspx
- Initializing a collection of integers to their array and displaying the results
- Changing the data types in our generics class
- Running the program
- Accumulating the input
- Chapter review
- Summary
- Chapter 2: Creating a Generic Method
- Creating a button to exchange and then comparing two values
- Writing a swap function
- Comparing values using the CompareTo method
- Introducing constraints
- Completing the GenMethods class
- Hardcoding the values
- Modifying the program for an additional type of comparison
- Modifying the program for different data types
- Chapter 3: Implementing a Generic Interface to Accomplish Sorting
- Adding a button to sort and display results
- Creating a generics interface class
- Implementing the interface
- Adding a virtual function
- Adding refinements
- Entering the reference code
- Upcasting
- Downcasting
- Chapter 4: Making Delegates More Flexible with Generics
- Adding a summarize button to the HTML
- Constructing a delegate
- Assigning functions to represent the delegate
- Calling the delegate
- Chapter 5: Creating and Using Generic Dictionaries
- Adding a show button to the HTML
- Starting a process from a web page
- Making a verbatim string
- Iterating over key-value pairs
- Making a directory and creating a file from Command Prompt
- Summary.
- Chapter 6: Connection Between Delegates and Lambda Expressions
- Adding a Show Results button to the HTML
- Adding delegates
- Setting up the variables
- Making objects of the delegate type
- Defining lambda expressions
- Operating an array
- Working with actions
- Chapter 7: Expression-Bodied Lambdas and Expression-Bodied Members
- Adding a box and a Find Max button to the HTML
- Making the delegate
- Defining an expression-bodied member
- Converting an array of strings into an array of doubles
- Creating an expression-bodied lambda
- Comparing values
- Specifying the parameters
- Chapter 8: Anonymous Methods and Objects That Run Their Own Delegates
- Streamlining writing functions
- Performing an action on all of the values
- Making an anonymous function or method
- Starting a thread
- Running and modifying the program
- Chapter 9: C# with LINQ and Built-In Types
- Adding a Show Values button to the HTML
- Adding namespaces
- Working with the IEnumerable generic interface
- Converting an array to a list of integers
- Determining the values in a collection
- Converting the values back to a list
- Extracting values from the list and sorting them
- Chapter 10: C# with LINQ and Custom Data Types
- Adding a Show People button to the HTML
- Setting up a database
- Making a custom type using LINQ
- Setting up an array of people
- Querying the array
- Chapter 11: Using Query Syntax to Construct Queries
- Creating a decimal salary array
- Working with range variables
- Selecting a salary range and putting it in descending order.
- Displaying the results
- Observing deferred execution
- Making a dictionary
- Working with key-value pairs
- Querying the data in the key-value pairs
- Chapter 12: Queries That Perform Aggregation Functions
- Creating an array
- Averaging the values in a list
- Displaying the results
- Using the Count function
- Working with a list of lists
- Adding students to the classList
- Summarizing the information in the classList
- Chapter 13: Using LINQ to Summarize Tuples
- Adding a show tuple summary values button to the HTML
- Introducing tuples
- Making a list with a tuple
- Returning the tuples
- Making a list of doubles
- Summarizing the list
- Chapter 14: Summarizing Results with Grouping
- Creating the student class and defining fields
- Making a list of students
- Grouping names
- Displaying the grouped results
- Chapter 15: Joining Datasets with Inner Joins
- Adding a Join Classes button to the HTML
- Adding the namespaces
- Creating the person and car classes
- Making person objects
- Making car objects
- Making a list of owners and their cars
- Joining the owners and car lists
- Getting and displaying the results
- Chapter 16: Downloading, Installing, and Running SQL Server 2017
- Downloading SQL Server 2017 express
- Selecting the installation type
- Installing the package
- Working with SQL server inside Visual Studio
- Creating a SQL server database
- Adding and defining a table
- Adding fields to the table.
- Updating the structure of the database
- Chapter 17: Writing Code to Manually Connect to a Table and Retrieve Records
- Adding a show records button to the HTML
- Adding a namespace
- Making the connection string
- Connecting to SQL Server
- Catching exceptions
- Displaying errors
- Opening the connection
- Working with the SQL Server data reader
- Chapter 18: Inserting Records into Tables Using Stored Procedures
- Adding text boxes and a button to the HTML
- Reviewing what you created already in SQL Server
- Creating a new stored procedure
- Updating the database structure
- Building the connection string
- Initializing the connection
- Trying out commands
- Adding the parameters
- Saving the information for later retrieval
- Recognizing the role of indexers
- Chapter 19: Using the Nullable Feature to Make Apps More Stable
- Adding a field to the people database
- Modifying the dbo.People table
- Writing the code for this project
- Creating the person class
- Making the properties
- Making the list of people
- Entering the SQL-related code
- Adding people to the list from the table
- Displaying the records
- Chapter 20: Connecting a Chart Control to SQL Server
- Placing a chart into the HTML page
- Adding a button to the HTML page
- Adding a new table to the People database
- Enabling auto-incrementation
- Adding values to the new table
- Coding the project
- Writing a SQL query
- Making the command object.
- Opening the connection and making a SQL data reader
- Modifying the program to display the Y values
- Chapter 21: Using LINQ to Operate on Tables from SQL Server
- Changing the data in the ExperimentValues table
- Summarizing the fields
- Making the SQL connection
- Making an adapter
- Making a data table
- Populating the table with data
- Displaying the summed values
- Adding comments
- Chapter 22: Creating a Page That Saves Text to Disk
- Creating an application to save text
- Creating the user interface for your project
- Starting to code the project
- Catching an exception
- Creating a StreamWriter class
- Creating a StreamReader class
- Chapter 23: Creating a Page That Uses the File Upload Control
- Starting our project from scratch
- Saving a file to a specific location
- Saving the file
- Displaying messages to the user
- Determining which files are stored in a directory
- Determining the return type
- Exploring the exceptions for EnumerateFiles
- Catching the exceptions
- Chapter 24: Serializing and Deserializing Objects
- Adding two buttons to the HTML
- Beginning to code the project
- Creating a serializable class
- Adding features to the serializable class
- Defining the path for saving a file
- Making a Person object
- Handling unmanaged resources
- Making a binary formatter
- Serializing an object
- Testing the program
- Rebuilding an object from a hard drive
- Chapter 25: Having a Little Fun with Images with Pixel Manipulations.
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (EBC, viewed December 7, 2017).
- ISBN:
- 9781788291798
- 1788291794
- OCLC:
- 1014021677
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.