War and Peace - C# Programming 4 Vol.: Programming in C# Visual Studio - Arrays, File Manipulation, Console Apps (War and Peace - C# Programming Visual Studio 2022)
Format:
Paperback
En stock
1.29 kg
Sí
Nuevo
Amazon
USA
- This is the fourth of a six-volume set. These topics are more advanced than previous chapters. Learn how to apply Arrays to common business problems, how to manipulate files, folders, and subdirectories, and how to write unattended background applications. If you have completed the first volume, then this volume is well-within the reach of a beginning student. (I recommend the paper versions because they are faster and easier to read! You can more easily flip through them.) 420 pages. Version: 2025.10 Details: Chapter 22 - Arrays: Arrays solve tons of problems with grace and speed and I am embarrassed to tell you this chapter is 220 pages long, with 90 illustrations to help explain the concepts. Arrays were being used in earlier chapters but were not fully explained until now. This ties the concepts together. Topics include single and multi-dimensioned arrays, as well as the newer-styled "list arrays. Although List arrays are touted as the simpler way to manage stacks of data, much of the chapter revolves around traditional arrays. These are still needed, and I show why. Much effort is devoted to "over-allocating" arrays - which solves the vexing problem of how to size an array when the number of elements are not known. Amazingly, this chapter shows how to resize 2D arrays, something Microsoft does not offer and I show how to easily build multiple simultaneous sort indexes -- where your array acts like a SQL database. Sorting arrays can be remarkably complicated. Learn how to sort multiple linked arrays (2 or more simultaneous arrays), and how to sort 2D arrays!!! -- topics which few internet articles dare to tread. These are gnarly problems but are described with clear examples. Build multiple indexes on 2-D arrays, and learn how to sequentially search an array. Learn how a binary search works and how to use them on a multi-dimensioned array - again, something Microsoft does not support. These are topics you want to know and I show them in a cook-book approach. This chapter makes me proud. Chapter 23 - File Manipulations: Use C# to move, copy, and delete files, find parent directories, convert drive letters to UNC paths, and other file-based goodies that are just plain handy. Details on folders, file-dates, and other disk-level activities are illustrated, and almost all have "gotchas." This chapter shows how to avoid the most common problems, using both brief overviews and "gold-plated" solutions. CH 24 - Console Applications: Console applications are DOS-like programs that do not have windows, buttons or mouse controls and are typically written for servers and for unattended tasks. If you are writing unattended programs, this is the chapter to study. Surprisingly, most applications I write are Console apps. With Console apps, I show how to pass startup parameters from DOS, or INI files, which makes these programs ideal for corporate environments, where server and share names change at a drop-of-a-hat. The chapter includes a nifty logging routine that automatically builds the log files, simplifies how to write to them -- writing to both a dated log file and/or the screen. And, as a bonus, the log files are self-cleaning -- deletingng log files older than (60 days) -- all under your control. Finally, in the Appendix, is a fun quasi-encryption chapter, just for fun. Learn how to write a Vigenere cipher, with a sliding-shift that encrypts the same string differently each time. This is very 18th-century stuff, with the inspiration from Simon Singh's most interesting book, "the Code Book." I use this to help 'encrypt' INI configuration files, just to keep prying eyes out. Why this instead of Youtube videos or ChatGPT? This is curated. Targeted! Thank you for purchasing. I hope you enjoy it as much as I have had writing it. Comments and suggestions are welcome. See me at keyliner.blogspot.com.
IMPORT EASILY
By purchasing this product you can deduct VAT with your RUT number