Zie Scherp
Zie Scherp
C# voor beginners, enthousiastelingen en geeks.
Over het boek
Programmeren is een beetje zoals fietsen. Van zodra je ermee weg bent verleer je het niet. Maar je moet natuurlijk wel ervoor op een fiets springen. Erover lezen helpt niet. Dit boek hanteert de 'leren fietsen doe je door het te doen'-filosofie om je zo gekend te maken met de basisbeginselen van programmeren in C# ("see sharp"). Ieder hoofdstuk sluit af met een resem aan praktische oefeningen, die je zal doen inzien dat je, zelfs al na het eerste hoofdstuk, best wel nuttige programma's kan schrijven. Na dit deel zal je nog niet klaar zijn voor de Tour de France, maar je zal je al niet belachelijk maken wanneer je op een koersfiets je op de baan begeeft.
In dit deel behandelen we de beginconcepten zoals: variabelen en expressies, if-else structuren, loops, methoden en arrays.
Zeggen die termen je niets, dan is dit het boek voor jou! Of ben je iemand die vaak 'goto' gebruikt in code en dringend heropgevoed moet worden? Oh boy, dan gaat dit boek zeker iets voor jou zijn!
Dit boek wordt gebruikt als leerboek C# (eerste semester) binnen de opleidingen Elektronica-ICT en Toegepaste Informatica van de AP Hogeschool.
Bundles that include this book
Inhoudsopgave
-
Welkom
- Over de bronnen
- Dankwoord
-
1 De eerste stappen
- 1.1 Wat is programmeren?
- 1.2 Kennismaken met C# en Visual Studio
- 1.3 Console-applicaties
- 1.4 Fouten oplossen
- 1.5 Kleuren in console
- 1.6 Oefeningen
-
2 De basisconcepten van C#
- 2.1 Keywords: de woordenschat
- 2.2 Variabelen, identifiers en naamgeving
- 2.3 Commentaar
- 2.4 Datatypes
- 2.5 Variabelen
- 2.6 Expressies en operators
- 2.7 Expressiedatatypes
- 2.8 Oefeningen
-
3 Tekst gebruiken in code
- 3.1 Tekst datatypes
- 3.2 String
- 3.3 Escape characters
- 3.4 Optellen van char variabelen
- 3.5 Strings samenvoegen
- 3.6 Vreemde tekens in console tonen
- 3.7 Environment bibliotheek
- 3.8 Oefeningen
-
4 Werken met data
- 4.1 Casting
- 4.2 Conversie
- 4.3 Parsing
- 4.4 Invoer van de gebruiker verwerken
- 4.5 Berekeningen met System.Math
- 4.6 Random getallen genereren
- 4.7 Debuggen
- 4.8 Oefeningen
-
5 Beslissingen
- 5.1 Relationele en logische operators
- 5.2 If
- 5.3 Scope van variabelen
- 5.4 Switch
- 5.5 Enum
- 5.6 Oefeningen
-
6 Herhalingen Herhalingen Herhalingen
- 6.1 Soorten loops
- 6.2 While
- 6.3 Do while
- 6.4 For-loops
- 6.5 Nested loops
- 6.6 Oefeningen
-
7 Methoden
- 7.1 Werking van methoden
- 7.2 Returntypes van methoden
- 7.3 Parameters doorgeven
- 7.4 Bestaande methoden en bibliotheken
- 7.5 Geavanceerde methode-technieken
- 7.6 Oefeningen
-
8 Arrays
- 8.1 Nut van arrays
- 8.2 Werken met arrays
- 8.3 Geheugengebruik bij arrays
- 8.4 System.Array
- 8.5 Algoritmes en arrays
- 8.6 String en arrays
- 8.7 Methoden en arrays
- 8.8 Meer-dimensionale Arrays
- 8.9 Oefeningen
- Conclusie
-
Appendix
-
out
enref
keywords -
Foute invoer van de gebruiker opvangen mbv
TryParse
-
- Zin in meer? “Zie Scherper” wacht op je!
Andere boeken van deze auteur
De Leanpub 45-dagen 100% Geluksgarantie
Binnen 60 dagen na aankoop kunt u een 100% restitutie op elke Leanpub aankoop krijgen in twee klikken. We verwerken deze restituties handmatig. Het zal dus een paar dagen duren voor ze verschijnen. Zie volledige voorwaarden.
Do Well. Do Good.
Authors have earned$11,716,512writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.
Learn more about writing on Leanpub
Gratis Updates. DRM-vrij.
Als je een Leanpub boek koopt, krijg je gratis aanpassingen aan het boek, zolang de auteur het boek aanpast! Veel auteurs gebruiken Leanpub om hun in wording boeken te publiceren, terwijl ze deze aan het schrijven zijn. Alle lezers krijgen gratis updates, onafhankelijk van het tijdstip wanneer ze het boek kochten of hoeveel ze betaalden (dus ook als ze niets betaalden).
De meeste Leanpub boeken zijn beschikbaar in PDF (voor computers), EPUB (voor telefoon of tablets) en MOBI (voor Kindle). De formaten die bij een boek beschikbaar zijn, worden getoond in de rechter bovenhoek van deze pagina.
Tenslotte, Leanpub boeken hebben geen DRM anti-kopieer nonsense, zodat je de boeken makkelijk kan lezen op elk toestel dat ondersteund wordt.
Lees meer over de e-boekformaten van Leanpub en waar u ze kunt lezen
Top Books
Recipes for Decoupling
Matthias NobackWrite software that survives
OpenIntro Statistics
David Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntroA complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
CQRS by Example
Carlos Buenosvinos, Christian Soronellas, and Keyvan Akbary- Leverage your Software Architecture skills by learning everything about CQRS in detail with lots of examples
- Develop faster applications by applying CQRS and fostering Read Models and Projections
- Learn how to apply CQRS into a brownfield project from a pragmatic approach
C++20 - The Complete Guide
Nicolai M. JosuttisAll new language and library features of C++20 (for those who know previous C++ versions).
The book presents all new language and library features of C++20. Learn how this impacts day-to-day programming, to benefit in practice, to combine new features, and to avoid all new traps.
Buy early, pay less, free updates.
Other books:
Jetpack Compose internals
Jorge CastilloJetpack Compose is the future of Android UI. Master how it works internally and become a more efficient developer with it. You'll also find it valuable if you are not an Android dev. This book provides all the details to understand how the Compose compiler & runtime work, and how to create a client library using them.
Maîtriser Apache JMeter
Philippe Mouawad, Bruno Demion (Milamber), and Antonio Gomes RodriguesToute la puissance d'Apache JMeter expliquée par ses commiteurs et utilisateurs experts. De l'intégration continue en passant par le Cloud, vous découvrirez comment intégrer JMeter à vos processus "Agile" et Devops.
If you're looking for the newer english version of this book, go to Master JMeter : From load testing to DevOps
Ansible for DevOps
Jeff GeerlingAnsible is a simple, but powerful, server and configuration management tool. Learn to use Ansible effectively, whether you manage one server—or thousands.
The PowerShell Scripting and Toolmaking Book
Don Jones and Jeff HicksLearn the patterns, practices, and details of PowerShell Scripting and Toolmaking from the industry's two most recognized experts on the subject.
Mastering STM32 - Second Edition
Carmine NovielloWith more than 1200 microcontrollers, STM32 is probably the most complete ARM Cortex-M platform on the market. This book aims to be the most complete guide around introducing the reader to this exciting MCU portfolio from ST Microelectronics and its official CubeHAL and STM32CubeIDE development environment.
Introduction to Data Science
Rafael A IrizarryThe demand for skilled data science practitioners in industry, academia, and government is rapidly growing. This book introduces concepts from probability, statistical inference, linear regression and machine learning and R programming skills. Throughout the book we demonstrate how these can help you tackle real-world data analysis challenges.
Top Bundles
- #1
Software Architecture
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #2
CCIE Service Provider Ultimate Study Bundle
2 Books
Piotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification... - #4
Pattern-Oriented Memory Forensics and Malware Detection
2 Books
This training bundle for security engineers and researchers, malware and memory forensics analysts includes two accelerated training courses for Windows memory dump analysis using WinDbg. It is also useful for technical support and escalation engineers who analyze memory dumps from complex software environments and need to check for possible... - #6
All the Books of The Medical Futurist
6 Books
We put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy, digital health investments and how technology giants such as Amazon...