Chapter 6 (61 pages) shows how to take a block of code and toss it into a general-purpose, re-usable function. All of the ins-and-outs of calling functions are described, including how to pass values and how to get return resultsProbably more importantly, you will begin writing a library of functions that can be used with all of your programs. These utility functions are so useful that you will need them in all programs that you will write. The functions include: IsBlank, IsFilled, StripTrailingComments,StripNonNumerics, StripDuplicateCharacters, StripSlashes, as well as formalized Left-String, Right-String, and Mid-String functions. All of these are functions Microsoft forgot to put into their compiler.With these functions, you will learn the importance and usefulness of "overloading" a Method. Once written, these functions can be linked into any program.About this series: A beginner's guide to C-Sharp programming with Microsoft's Visual Studio, 2017. A complete programming guide. Simple, step-by-step, fully illustrated. Tailored for new and novice developers. Discusses basic techniques that all programmers need to learn. This series is sold by Chapters at a low cost. A total of 28 chapters, in three volumes. Over 1800 pages, 900 quality illustrations. This book acts as a reference guide. Topics are covered in great detail, with little time spent on theory. The goal of these books are to solve programming problems quickly and efficiently. Why am I distributing by chapter? To keep the cost down and to keep each section manageable. I hope you enjoy reading and studying these pages as much as I have enjoyed writing them. --TRW
Author: Tim R. Wolf
Do you want ot get/download the A Beginner’s Guide to C-Sharp-CH06: Utility Functions – Really great utility functions that are useful (ABGC) as Paperback or Kindle/pdf eBook?