Learn your way! Get started

Programming C# 6, Part 12 of 12: Arrays and Sorting

with expert Don Kiely


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 5/20/2016
Level Intermediate
Runtime 1h 49m
Closed captioning Included
Transcript Included
eBooks / courseware Included
Hands-on labs Included
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

According to programming expert Don Kiely, it’s hard to imagine a C# application that doesn’t make use of the language element known as arrays. In this course Kiely examines what arrays are and how to create and initialize them with data. He will also explore the support that the .NET framework offers arrays as well as how to use advanced sorting techniques.

Prerequisites

This course builds upon: Programming C# 6: Getting started Programming C# 6: Your First App Programming C# 6: Projects and Syntax Programming C# 6: Variables and Data Types Programming C# 6: Adv Data Types and Operators Programming C# 6: Strings, File I/O and Date Types Programming C# 6: Conditions and Looping Programming C# 6: Objects and Classes It is considered a more Intermediate to advanced topic after you have gone through these other courses.

Learning Paths

This course is part of the following LearnNowOnline SuccessPaths™:
.NET Framework C# Development

Meet the expert

Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant specializing in Microsoft technologies. Don has many years of teaching experience, is the author or co-author of several programming books, and has spoken at many industry conferences and user groups. In addition, Don is a consultant for a variety of companies that develop distributed applications for public and private organizations.

Course outline



Arrays

Arrays (20:14)
  • Introduction (00:39)
  • Introducing Arrays (01:23)
  • Demo: Creating an Array (05:34)
  • Array Dimensions (02:55)
  • Demo: Resizing Arrays (06:22)
  • Demo: Cloning an Array (02:53)
  • Summary (00:25)
Initalize Array, Retrieve Data (13:36)
  • Introduction (00:31)
  • Demo: Initializing Arrays (05:44)
  • Demo: Retrieving Data (04:04)
  • Demo: Print Elements (02:54)
  • Summary (00:22)
Arrays as Method Parameters (05:16)
  • Introduction (00:34)
  • Demo: Params (03:11)
  • Demo: Using Params (01:07)
  • Summary (00:22)
Arrays in the .NET Framework (03:32)
  • Introduction (00:21)
  • Demo: ArraysInTheFramwork (01:15)
  • Demo: Processes (01:23)
  • Summary (00:31)
Manipulating Arrays (11:30)
  • Introduction (00:35)
  • System.Array Instance Members (01:27)
  • Demo: Sorting an Array (02:45)
  • Sorting an Array of Objects (01:21)
  • Demo: Invalid Sort (04:55)
  • Summary (00:25)
Allowing Flexible Sorting (15:26)
  • Introduction (01:01)
  • Demo: Overloaded Sorting (02:48)
  • Demo: Sorting Files (05:48)
  • Demo: IComparer (04:17)
  • Summary (01:29)
Advanced Sorting (08:18)
  • Introduction (00:26)
  • Advanced Sorting (01:10)
  • Demo: Advanced Sorting (04:38)
  • Summarizing the Sort Options (01:27)
  • Summary (00:35)
Searching Arrays (14:05)
  • Introduction (00:27)
  • Demo: IndexOf (03:12)
  • Demo: Binary Search (03:55)
  • Advanced Searching Tecnhiques (02:21)
  • Demo: Advanced Searching (03:31)
  • Summary (00:36)
Creating Indexers (16:57)
  • Introduction (00:41)
  • Demo: Resize Array (05:14)
  • Demo: Indexers (06:02)
  • Demo: Iterate Through Arrays (04:40)
  • Summary (00:19)