© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
G. ByrneTarget C#https://doi.org/10.1007/978-1-4842-8619-7_24

24. Common Routines

Gerard Byrne1  
(1)
Belfast, Ireland
 

Common Programming Routines with C#

Now as we come to the end of our book and we reach our learning target, we have the core skills required to write applications in C#. We will now turn our attention to using the skills we have learned and apply them to search and sort routines that developers may commonly use when programming commercial applications. Firstly, we will look at two common search routines, linear search and binary search, and then we will look at two common sorting algorithms, bubble sort and insertion sort.

Linear Search

A

Get Target C#: Simple Hands-On Programming with Visual Studio 2022 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.